Coding Standards: Use strict comparison for count() calls.
See #49542. Built from https://develop.svn.wordpress.org/trunk@47848 git-svn-id: http://core.svn.wordpress.org/trunk@47624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user