WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/23/2020 11:36:36 AM (11 months 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/users.php

    r47557 r47848  
    279279        <?php endif; ?>
    280280
    281         <?php if ( 1 == count( $all_userids ) ) : ?>
     281        <?php if ( 1 === count( $all_userids ) ) : ?>
    282282    <p><?php _e( 'You have specified this user for deletion:' ); ?></p>
    283283        <?php else : ?>
     
    416416<h1><?php _e( 'Remove Users from Site' ); ?></h1>
    417417
    418         <?php if ( 1 == count( $userids ) ) : ?>
     418        <?php if ( 1 === count( $userids ) ) : ?>
    419419    <p><?php _e( 'You have specified this user for removal:' ); ?></p>
    420420        <?php else : ?>
Note: See TracChangeset for help on using the changeset viewer.