Coding Standards: Replace loose comparison in `wp-includes/ms-functions.php`.

This brings more consistency with similar checks elsewhere.

Follow-up to [https://mu.trac.wordpress.org/changeset/1069 mu:1069], [12603].

Props debarghyabanerjee, audrasjb, jrf, aristath, SergeyBiryukov.
Fixes #62032.
Built from https://develop.svn.wordpress.org/trunk@59284


git-svn-id: http://core.svn.wordpress.org/trunk@58676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2024-10-23 18:31:16 +00:00
parent bbc789ed0d
commit d885fc7216
2 changed files with 3 additions and 3 deletions

View File

@ -1433,7 +1433,7 @@ function newblog_notify_siteadmin( $blog_id, $deprecated = '' ) {
$email = get_site_option( 'admin_email' ); $email = get_site_option( 'admin_email' );
if ( is_email( $email ) == false ) { if ( ! is_email( $email ) ) {
return false; return false;
} }
@ -1494,7 +1494,7 @@ function newuser_notify_siteadmin( $user_id ) {
$email = get_site_option( 'admin_email' ); $email = get_site_option( 'admin_email' );
if ( is_email( $email ) == false ) { if ( ! is_email( $email ) ) {
return false; return false;
} }

View File

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