Commit cf60138b authored by root's avatar root Committed by agata

Don't leak which blog has been logged into via get_bloginfo()

parent d82136d4
......@@ -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.
*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment