From 3e20ee2b0cbbe5041128934960c6b5bbf3d234e0 Mon Sep 17 00:00:00 2001 From: ryan Date: Tue, 14 Nov 2006 23:44:25 +0000 Subject: [PATCH] Exit after redirect. git-svn-id: http://svn.automattic.com/wordpress/trunk@4467 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/users.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-admin/users.php b/wp-admin/users.php index 5d6807b394..a76844fee3 100644 --- a/wp-admin/users.php +++ b/wp-admin/users.php @@ -123,6 +123,7 @@ case 'promote': if (empty($_POST['users'])) { wp_redirect($redirect); + exit(); } if ( !current_user_can('edit_users') )