In `wp-admin/network/users.php`, `break` is unreachabled after `exit`.

See #27882.



git-svn-id: https://develop.svn.wordpress.org/trunk@28309 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
wonderboymusic 2014-05-06 18:10:01 +00:00
parent aa7cef0549
commit 1da6728dc0
1 changed files with 0 additions and 4 deletions

View File

@ -109,7 +109,6 @@ if ( isset( $_GET['action'] ) ) {
wp_redirect( network_admin_url( 'users.php' ) );
}
exit();
break;
case 'allusers':
if ( !current_user_can( 'manage_network_users' ) )
@ -135,7 +134,6 @@ if ( isset( $_GET['action'] ) ) {
echo '</div>';
require_once( ABSPATH . 'wp-admin/admin-footer.php' );
exit();
break;
case 'spam':
$user = get_userdata( $val );
@ -172,7 +170,6 @@ if ( isset( $_GET['action'] ) ) {
wp_redirect( $location );
}
exit();
break;
case 'dodelete':
check_admin_referer( 'ms-users-delete' );
@ -208,7 +205,6 @@ if ( isset( $_GET['action'] ) ) {
wp_redirect( add_query_arg( array( 'updated' => 'true', 'action' => $deletefunction ), network_admin_url( 'users.php' ) ) );
exit();
break;
}
}