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

See #49542.

git-svn-id: https://develop.svn.wordpress.org/trunk@47848 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2020-05-23 11:36:36 +00:00
parent a5baf8b9c6
commit 772a11b72a
15 changed files with 29 additions and 22 deletions
+2 -2
View File
@@ -278,7 +278,7 @@ switch ( $wp_list_table->current_action() ) {
</div>
<?php endif; ?>
<?php if ( 1 == count( $all_userids ) ) : ?>
<?php if ( 1 === count( $all_userids ) ) : ?>
<p><?php _e( 'You have specified this user for deletion:' ); ?></p>
<?php else : ?>
<p><?php _e( 'You have specified these users for deletion:' ); ?></p>
@@ -415,7 +415,7 @@ switch ( $wp_list_table->current_action() ) {
<div class="wrap">
<h1><?php _e( 'Remove Users from Site' ); ?></h1>
<?php if ( 1 == count( $userids ) ) : ?>
<?php if ( 1 === count( $userids ) ) : ?>
<p><?php _e( 'You have specified this user for removal:' ); ?></p>
<?php else : ?>
<p><?php _e( 'You have specified these users for removal:' ); ?></p>