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:
@@ -856,7 +856,7 @@ function confirm_delete_users( $users ) {
|
||||
?>
|
||||
<h1><?php esc_html_e( 'Users' ); ?></h1>
|
||||
|
||||
<?php if ( 1 == count( $users ) ) : ?>
|
||||
<?php if ( 1 === count( $users ) ) : ?>
|
||||
<p><?php _e( 'You have chosen to delete the user from all networks and sites.' ); ?></p>
|
||||
<?php else : ?>
|
||||
<p><?php _e( 'You have chosen to delete the following users from all networks and sites.' ); ?></p>
|
||||
@@ -974,7 +974,7 @@ function confirm_delete_users( $users ) {
|
||||
/** This action is documented in wp-admin/users.php */
|
||||
do_action( 'delete_user_form', $current_user, $allusers );
|
||||
|
||||
if ( 1 == count( $users ) ) :
|
||||
if ( 1 === count( $users ) ) :
|
||||
?>
|
||||
<p><?php _e( 'Once you hit “Confirm Deletion”, the user will be permanently removed.' ); ?></p>
|
||||
<?php else : ?>
|
||||
|
||||
Reference in New Issue
Block a user