diff --git a/wp-includes/class-http.php b/wp-includes/class-http.php index 6a69b2462d20e552cd1894467c0a25a78999f4e2..3c811114ddc7bccdc9356e12bf686e4cba47812e 100644 --- a/wp-includes/class-http.php +++ b/wp-includes/class-http.php @@ -188,7 +188,7 @@ class WP_Http { * @param string $user_agent WordPress user agent string. * @param string $url The request URL. */ - 'user-agent' => apply_filters( 'http_headers_useragent', 'WordPress/' . get_bloginfo( 'version' ) . '; ' . get_bloginfo( 'url' ), $url ), + 'user-agent' => apply_filters( 'http_headers_useragent', 'WordPress/' . $wp_version . '; http://wordpress.org' ), /** * Filters whether to pass URLs through wp_http_validate_url() in an HTTP request. *