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

git-svn-id: https://develop.svn.wordpress.org/trunk@20439 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2012-04-11 20:22:48 +00:00
parent 5ac059e12c
commit a6b212b230
1 changed files with 1 additions and 1 deletions

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 );