diff --git a/wp-includes/class-http.php b/wp-includes/class-http.php index 2a458eb705295364f6b122bfa8cf48e9885435fd..90641fd33c2ad3f6c5c9dd4fa89f0bac83906456 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. *