fixed missing global wp_version. used get_bloginfo() instead.