Coding Standards: Fix instances of Generic.WhiteSpace.ArbitraryParenthesesSpacing.FoundEmpty.

See #49542.

git-svn-id: https://develop.svn.wordpress.org/trunk@47855 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2020-05-26 09:35:34 +00:00
parent 6ec9c9c446
commit 2c75752c88
28 changed files with 70 additions and 68 deletions

View File

@@ -108,7 +108,7 @@ switch ( $wp_list_table->current_action() ) {
if ( empty( $_REQUEST['users'] ) ) {
wp_redirect( $redirect );
exit();
exit;
}
$editable_roles = get_editable_roles();
@@ -153,7 +153,7 @@ switch ( $wp_list_table->current_action() ) {
}
wp_redirect( add_query_arg( 'update', $update, $redirect ) );
exit();
exit;
case 'dodelete':
if ( is_multisite() ) {
@@ -164,7 +164,7 @@ switch ( $wp_list_table->current_action() ) {
if ( empty( $_REQUEST['users'] ) ) {
wp_redirect( $redirect );
exit();
exit;
}
$userids = array_map( 'intval', (array) $_REQUEST['users'] );
@@ -211,7 +211,7 @@ switch ( $wp_list_table->current_action() ) {
$redirect
);
wp_redirect( $redirect );
exit();
exit;
case 'delete':
if ( is_multisite() ) {
@@ -222,7 +222,7 @@ switch ( $wp_list_table->current_action() ) {
if ( empty( $_REQUEST['users'] ) && empty( $_REQUEST['user'] ) ) {
wp_redirect( $redirect );
exit();
exit;
}
if ( ! current_user_can( 'delete_users' ) ) {
@@ -393,7 +393,7 @@ switch ( $wp_list_table->current_action() ) {
if ( empty( $_REQUEST['users'] ) && empty( $_REQUEST['user'] ) ) {
wp_redirect( $redirect );
exit();
exit;
}
if ( ! current_user_can( 'remove_users' ) ) {