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

See #27882.


Built from https://develop.svn.wordpress.org/trunk@28309


git-svn-id: http://core.svn.wordpress.org/trunk@28137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor 2014-05-06 18:11:14 +00:00
parent 64418c0192
commit 0f8fb8a148

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;
}
}