Make WordPress Core


Ignore:
Timestamp:
06/12/2015 05:18:38 PM (9 years ago)
Author:
wonderboymusic
Message:

Don't loosely compare functions that return bool against a literal bool.

See #32444.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/network/site-users.php

    r32152 r32730  
    7171                $user_id = wpmu_create_user( esc_html( strtolower( $user['username'] ) ), $password, esc_html( $user['email'] ) );
    7272
    73                 if ( false == $user_id ) {
     73                if ( false === $user_id ) {
    7474                    $update = 'err_new_dup';
    7575                } else {
Note: See TracChangeset for help on using the changeset viewer.