From b5e7e0da7955c7d8530026fb7eeaa056e14aa383 Mon Sep 17 00:00:00 2001 From: rboren Date: Mon, 17 May 2004 19:15:45 +0000 Subject: [PATCH] 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 --- wp-login.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-login.php b/wp-login.php index a255fede38..d402cdc456 100644 --- a/wp-login.php +++ b/wp-login.php @@ -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');