Exit after redirect.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
bc46166de6
commit
3e20ee2b0c
|
@ -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') )
|
||||||
|
|
Loading…
Reference in New Issue