In `wp-admin/users.php`, `break` is unreachabled after `exit`.
See #27882. Built from https://develop.svn.wordpress.org/trunk@28315 git-svn-id: http://core.svn.wordpress.org/trunk@28143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
402d8b80fb
commit
5f27d149a3
|
@ -137,8 +137,6 @@ case 'promote':
|
|||
wp_redirect(add_query_arg('update', $update, $redirect));
|
||||
exit();
|
||||
|
||||
break;
|
||||
|
||||
case 'dodelete':
|
||||
if ( is_multisite() )
|
||||
wp_die( __('User deletion is not allowed from this screen.') );
|
||||
|
@ -188,8 +186,6 @@ case 'dodelete':
|
|||
wp_redirect($redirect);
|
||||
exit();
|
||||
|
||||
break;
|
||||
|
||||
case 'delete':
|
||||
if ( is_multisite() )
|
||||
wp_die( __('User deletion is not allowed from this screen.') );
|
||||
|
@ -293,8 +289,6 @@ case 'doremove':
|
|||
wp_redirect($redirect);
|
||||
exit;
|
||||
|
||||
break;
|
||||
|
||||
case 'remove':
|
||||
|
||||
check_admin_referer('bulk-users');
|
||||
|
|
Loading…
Reference in New Issue