Use wp_redirect() when logging out. http://mosquito.wordpress.org/view.php?id=592 Props: toby

git-svn-id: http://svn.automattic.com/wordpress/trunk@2440 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2005-03-13 22:29:44 +00:00
parent c1c2c0df34
commit 16b593ec35
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('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
header('Cache-Control: no-cache, must-revalidate, max-age=0'); header('Cache-Control: no-cache, must-revalidate, max-age=0');
header('Pragma: no-cache'); header('Pragma: no-cache');
header('Location: wp-login.php'); wp_redirect('wp-login.php');
exit(); exit();
break; break;