From 77828c5d08b128da1fe46219430f7399ca46cf21 Mon Sep 17 00:00:00 2001 From: root <root@rivolta.investici.org> Date: Sun, 6 Mar 2011 17:39:49 +0000 Subject: [PATCH 110/229] 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 a30a9b3f..a4bcc5c1 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. * -- 2.17.1