From e85bca16d361b8583b5b0d35fc60588af18916ff Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 24 Dec 2024 22:24:27 +0000 Subject: [PATCH] Coding Standards: Use strict comparison in `wpmu_signup_blog_notification()`. Follow-up to [https://mu.trac.wordpress.org/changeset/1970 mu:1970]. Props debarghyabanerjee. See #62283. Built from https://develop.svn.wordpress.org/trunk@59560 git-svn-id: http://core.svn.wordpress.org/trunk@58946 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 d17de7ead0..7cfb403e9e 100644 --- a/wp-includes/ms-functions.php +++ b/wp-includes/ms-functions.php @@ -941,7 +941,7 @@ function wpmu_signup_blog_notification( $domain, $path, $title, $user_login, $us } // Send email with activation link. - if ( ! is_subdomain_install() || get_current_network_id() != 1 ) { + if ( ! is_subdomain_install() || get_current_network_id() !== 1 ) { $activate_url = network_site_url( "wp-activate.php?key=$key" ); } else { $activate_url = "http://{$domain}{$path}wp-activate.php?key=$key"; // @todo Use *_url() API. diff --git a/wp-includes/version.php b/wp-includes/version.php index 964ce7219c..86b04d1e5c 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.8-alpha-59559'; +$wp_version = '6.8-alpha-59560'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.