Exit after redirect.

git-svn-id: http://svn.automattic.com/wordpress/trunk@4467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2006-11-14 23:44:25 +00:00
parent bc46166de6
commit 3e20ee2b0c
1 changed files with 1 additions and 0 deletions

View File

@ -123,6 +123,7 @@ case 'promote':
if (empty($_POST['users'])) { if (empty($_POST['users'])) {
wp_redirect($redirect); wp_redirect($redirect);
exit();
} }
if ( !current_user_can('edit_users') ) if ( !current_user_can('edit_users') )