mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-05-21 11:44:36 +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:
@@ -39,7 +39,7 @@ if ( isset( $_GET['action'] ) ) {
|
||||
} else {
|
||||
wp_redirect( network_admin_url( 'users.php' ) );
|
||||
}
|
||||
exit();
|
||||
exit;
|
||||
|
||||
case 'allusers':
|
||||
if ( ! current_user_can( 'manage_network_users' ) ) {
|
||||
@@ -66,7 +66,7 @@ if ( isset( $_GET['action'] ) ) {
|
||||
confirm_delete_users( $_POST['allusers'] );
|
||||
echo '</div>';
|
||||
require_once ABSPATH . 'wp-admin/admin-footer.php';
|
||||
exit();
|
||||
exit;
|
||||
|
||||
case 'spam':
|
||||
$user = get_userdata( $user_id );
|
||||
@@ -122,7 +122,7 @@ if ( isset( $_GET['action'] ) ) {
|
||||
$sendback = apply_filters( 'handle_network_bulk_actions-' . get_current_screen()->id, $sendback, $doaction, $user_ids ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
|
||||
|
||||
wp_safe_redirect( $sendback );
|
||||
exit();
|
||||
exit;
|
||||
}
|
||||
|
||||
wp_safe_redirect(
|
||||
@@ -142,7 +142,7 @@ if ( isset( $_GET['action'] ) ) {
|
||||
}
|
||||
wp_redirect( $location );
|
||||
}
|
||||
exit();
|
||||
exit;
|
||||
|
||||
case 'dodelete':
|
||||
check_admin_referer( 'ms-users-delete' );
|
||||
@@ -193,7 +193,7 @@ if ( isset( $_GET['action'] ) ) {
|
||||
network_admin_url( 'users.php' )
|
||||
)
|
||||
);
|
||||
exit();
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user