Cookie patch from rread. http://wordpress.org/support/6/5327
git-svn-id: http://svn.automattic.com/wordpress/trunk@1296 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
152c8ec224
commit
b5e7e0da79
|
@ -41,8 +41,8 @@ switch($action) {
|
|||
|
||||
case 'logout':
|
||||
|
||||
setcookie('wordpressuser_'.$cookiehash);
|
||||
setcookie('wordpresspass_'.$cookiehash);
|
||||
setcookie('wordpressuser_'.$cookiehash, " ", time() - 31536000, COOKIEPATH);
|
||||
setcookie('wordpresspass_'.$cookiehash, " ", time() - 31536000, COOKIEPATH);
|
||||
header('Expires: Wed, 11 Jan 1984 05:00:00 GMT');
|
||||
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
|
||||
header('Cache-Control: no-cache, must-revalidate');
|
||||
|
|
Loading…
Reference in New Issue