mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-04 04:34:31 +00:00
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:
@@ -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' ) ) {
|
||||
|
||||
Reference in New Issue
Block a user