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.
Built from https://develop.svn.wordpress.org/trunk@59512


git-svn-id: http://core.svn.wordpress.org/trunk@58898 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2024-12-13 23:17:17 +00:00
parent e25f6d7e2f
commit afde562494
2 changed files with 2 additions and 2 deletions

View File

@ -341,7 +341,7 @@ function get_blog_id_from_url( $domain, $path = '/' ) {
$path = strtolower( $path );
$id = wp_cache_get( md5( $domain . $path ), 'blog-id-cache' );
if ( -1 == $id ) { // Blog does not exist.
if ( -1 === $id ) { // Blog does not exist.
return 0;
} elseif ( $id ) {
return (int) $id;

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.8-alpha-59511';
$wp_version = '6.8-alpha-59512';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.