Make WordPress Core

Changeset 59512


Ignore:
Timestamp:
12/13/2024 11:15:08 PM (7 months ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Use strict comparison in get_blog_id_from_url().

Follow-up to mu:1538.

Props debarghyabanerjee.
See #62283.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/ms-functions.php

    r59334 r59512  
    342342    $id     = wp_cache_get( md5( $domain . $path ), 'blog-id-cache' );
    343343
    344     if ( -1 == $id ) { // Blog does not exist.
     344    if ( -1 === $id ) { // Blog does not exist.
    345345        return 0;
    346346    } elseif ( $id ) {
Note: See TracChangeset for help on using the changeset viewer.