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:
Ryan Boren 2005-03-13 22:29:44 +00:00
parent 84c0b48441
commit c8b826e05b
1 changed files with 1 additions and 1 deletions

View File

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