From afde562494fbeffa8b47d4c30031a4384c3d05bb Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 13 Dec 2024 23:17:17 +0000 Subject: [PATCH] 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 --- wp-includes/ms-functions.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/ms-functions.php b/wp-includes/ms-functions.php index 6f9ba85006..fa8df6d108 100644 --- a/wp-includes/ms-functions.php +++ b/wp-includes/ms-functions.php @@ -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; diff --git a/wp-includes/version.php b/wp-includes/version.php index f5b51f82e9..5300c44157 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.