Make WordPress Core

Changeset 59632


Ignore:
Timestamp:
01/16/2025 12:02:24 PM (4 months ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Use strict comparison in wp_xmlrpc_server::_multisite_getUsersBlogs().

Follow-up to mu:1218, [12852].

Props aristath, poena, afercia, SergeyBiryukov.
See #62279.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-xmlrpc-server.php

    r57584 r59632  
    48844884        }
    48854885
    4886         if ( $_SERVER['HTTP_HOST'] == $domain && $_SERVER['REQUEST_URI'] == $path ) {
     4886        if ( $_SERVER['HTTP_HOST'] === $domain && $_SERVER['REQUEST_URI'] === $path ) {
    48874887            return $blogs;
    48884888        } else {
Note: See TracChangeset for help on using the changeset viewer.