From 109035ee45243af4bd33913b7e313560aace40ca Mon Sep 17 00:00:00 2001 From: root <root@rivolta.investici.org> Date: Sun, 6 Mar 2011 17:39:49 +0000 Subject: [PATCH] Don't leak which blog has been logged into via get_bloginfo() --- wp-includes/class-http.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/class-http.php b/wp-includes/class-http.php index 6a69b2462..3c811114d 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. * -- GitLab