Skip to content

Commit 85937e7

Browse files
Coding Standards: Use strict comparison in get_blog_id_from_url().
Follow-up to [https://mu.trac.wordpress.org/changeset/1538 mu:1538]. Props debarghyabanerjee. See #62283. git-svn-id: https://develop.svn.wordpress.org/trunk@59512 602fd350-edb4-49c9-b593-d223f7449a82
1 parent ab51fc3 commit 85937e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wp-includes/ms-functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ function get_blog_id_from_url( $domain, $path = '/' ) {
341341
$path = strtolower( $path );
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 ) {
347347
return (int) $id;

0 commit comments

Comments
 (0)