Skip to content
Snippets Groups Projects
Commit 109035ee authored by root's avatar root Committed by agata
Browse files

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

parent 6063ae10
No related branches found
No related tags found
No related merge requests found
......@@ -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.
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment