Skip to content

Commit

Permalink
Coding Standards: Replace loose comparison in `wp-includes/ms-functio…
Browse files Browse the repository at this point in the history
…ns.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.

git-svn-id: https://develop.svn.wordpress.org/trunk@59284 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
SergeyBiryukov committed Oct 23, 2024
1 parent 9ae73d2 commit 7456ab6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/wp-includes/ms-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down Expand Up @@ -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;
}

Expand Down

0 comments on commit 7456ab6

Please sign in to comment.