Use wp_redirect() when logging out. http://mosquito.wordpress.org/view.php?id=592 Props: toby
git-svn-id: https://develop.svn.wordpress.org/trunk@2440 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
84c0b48441
commit
c8b826e05b
@ -27,7 +27,7 @@ case 'logout':
|
||||
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
|
||||
header('Cache-Control: no-cache, must-revalidate, max-age=0');
|
||||
header('Pragma: no-cache');
|
||||
header('Location: wp-login.php');
|
||||
wp_redirect('wp-login.php');
|
||||
exit();
|
||||
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user