mirror of
git://develop.git.wordpress.org/
synced 2025-01-17 04:48:25 +01:00
Coding Standards: Use strict comparison in wp_xmlrpc_server::_multisite_getUsersBlogs()
.
Follow-up to [https://mu.trac.wordpress.org/changeset/1218 mu:1218], [12852]. Props aristath, poena, afercia, SergeyBiryukov. See #62279. git-svn-id: https://develop.svn.wordpress.org/trunk@59632 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
5b01d24d8c
commit
8aea1ba5ee
@ -4883,7 +4883,7 @@ class wp_xmlrpc_server extends IXR_Server {
|
||||
return $blogs;
|
||||
}
|
||||
|
||||
if ( $_SERVER['HTTP_HOST'] == $domain && $_SERVER['REQUEST_URI'] == $path ) {
|
||||
if ( $_SERVER['HTTP_HOST'] === $domain && $_SERVER['REQUEST_URI'] === $path ) {
|
||||
return $blogs;
|
||||
} else {
|
||||
foreach ( (array) $blogs as $blog ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user