Make WordPress Core


Ignore:
Timestamp:
05/23/2020 11:36:36 AM (4 years ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Use strict comparison for count() calls.

See #49542.

File:
1 edited

Legend:

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

    r47808 r47848  
    100100        $result = populate_network( 1, get_clean_basedomain(), sanitize_email( $_POST['email'] ), wp_unslash( $_POST['sitename'] ), $base, $subdomain_install );
    101101        if ( is_wp_error( $result ) ) {
    102             if ( 1 == count( $result->get_error_codes() ) && 'no_wildcard_dns' === $result->get_error_code() ) {
     102            if ( 1 === count( $result->get_error_codes() ) && 'no_wildcard_dns' === $result->get_error_code() ) {
    103103                network_step2( $result );
    104104            } else {
Note: See TracChangeset for help on using the changeset viewer.