Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
noblogs-composer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
Monitor
Service Desk
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Noblogs
noblogs-composer
Commits
dfb1a56f
Commit
dfb1a56f
authored
3 years ago
by
lucha
Browse files
Options
Downloads
Patches
Plain Diff
removed unused patch, see
#26
parent
8aaf0f4c
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
patches/core/0110-Don-t-leak-which-blog-has-been-logged-into-via-get_b.patch
+0
-26
0 additions, 26 deletions
...on-t-leak-which-blog-has-been-logged-into-via-get_b.patch
with
0 additions
and
26 deletions
patches/core/0110-Don-t-leak-which-blog-has-been-logged-into-via-get_b.patch
deleted
100644 → 0
+
0
−
26
View file @
8aaf0f4c
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment