Make WordPress Core


Ignore:
Timestamp:
10/23/2024 06:29:32 PM (7 weeks ago)
Author:
SergeyBiryukov
Message:

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

This brings more consistency with similar checks elsewhere.

Follow-up to mu:1069, [12603].

Props debarghyabanerjee, audrasjb, jrf, aristath, SergeyBiryukov.
Fixes #62032.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/ms-functions.php

    r58975 r59284  
    14341434    $email = get_site_option( 'admin_email' );
    14351435
    1436     if ( is_email( $email ) == false ) {
     1436    if ( ! is_email( $email ) ) {
    14371437        return false;
    14381438    }
     
    14951495    $email = get_site_option( 'admin_email' );
    14961496
    1497     if ( is_email( $email ) == false ) {
     1497    if ( ! is_email( $email ) ) {
    14981498        return false;
    14991499    }
Note: See TracChangeset for help on using the changeset viewer.