From d885fc7216918a97d34d83f054bba750ff95b639 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 23 Oct 2024 18:31:16 +0000 Subject: [PATCH] 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 --- wp-includes/ms-functions.php | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/ms-functions.php b/wp-includes/ms-functions.php index 16cda4ff5c..0e77da1019 100644 --- a/wp-includes/ms-functions.php +++ b/wp-includes/ms-functions.php @@ -1433,7 +1433,7 @@ function newblog_notify_siteadmin( $blog_id, $deprecated = '' ) { $email = get_site_option( 'admin_email' ); - if ( is_email( $email ) == false ) { + if ( ! is_email( $email ) ) { return false; } @@ -1494,7 +1494,7 @@ function newuser_notify_siteadmin( $user_id ) { $email = get_site_option( 'admin_email' ); - if ( is_email( $email ) == false ) { + if ( ! is_email( $email ) ) { return false; } diff --git a/wp-includes/version.php b/wp-includes/version.php index 6d835bf644..5e4574197a 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @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.