Use home_url() instead of get_bloginfo('url'). props Mamaduka, fixes #20371.

git-svn-id: http://svn.automattic.com/wordpress/trunk@20439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2012-04-11 20:22:48 +00:00
parent 8789d023b2
commit 5e6d499889

View File

@ -1208,7 +1208,7 @@ function wp_check_browser_version() {
$options = array(
'body' => array( 'useragent' => $_SERVER['HTTP_USER_AGENT'] ),
'user-agent' => 'WordPress/' . $wp_version . '; ' . get_bloginfo( 'url' )
'user-agent' => 'WordPress/' . $wp_version . '; ' . home_url()
);
$response = wp_remote_post( 'http://api.wordpress.org/core/browse-happy/1.0/', $options );