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/includes/ms.php

    r47808 r47848  
    857857    <h1><?php esc_html_e( 'Users' ); ?></h1>
    858858
    859     <?php if ( 1 == count( $users ) ) : ?>
     859    <?php if ( 1 === count( $users ) ) : ?>
    860860        <p><?php _e( 'You have chosen to delete the user from all networks and sites.' ); ?></p>
    861861    <?php else : ?>
     
    975975    do_action( 'delete_user_form', $current_user, $allusers );
    976976
    977     if ( 1 == count( $users ) ) :
     977    if ( 1 === count( $users ) ) :
    978978        ?>
    979979        <p><?php _e( 'Once you hit &#8220;Confirm Deletion&#8221;, the user will be permanently removed.' ); ?></p>
Note: See TracChangeset for help on using the changeset viewer.