mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
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:
@@ -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