From 9816e56997eb04e17f83c6eda36b04210fdd31c6 Mon Sep 17 00:00:00 2001 From: rboren Date: Sat, 25 Dec 2004 18:01:06 +0000 Subject: [PATCH] Fix comment cookies. git-svn-id: http://svn.automattic.com/wordpress/trunk@2002 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-comments-post.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-comments-post.php b/wp-comments-post.php index 9a1ff1f45d..115c24e218 100644 --- a/wp-comments-post.php +++ b/wp-comments-post.php @@ -32,9 +32,9 @@ $commentdata = compact('comment_post_ID', 'comment_author', 'comment_author_emai wp_new_comment($commentdata); -setcookie('comment_author_' . COOKIEHASH, stripslashes($author), time() + 30000000, COOKIEPATH); -setcookie('comment_author_email_' . COOKIEHASH, stripslashes($email), time() + 30000000, COOKIEPATH); -setcookie('comment_author_url_' . COOKIEHASH, stripslashes($url), time() + 30000000, COOKIEPATH); +setcookie('comment_author_' . COOKIEHASH, stripslashes($comment_author), time() + 30000000, COOKIEPATH); +setcookie('comment_author_email_' . COOKIEHASH, stripslashes($comment_author_email), time() + 30000000, COOKIEPATH); +setcookie('comment_author_url_' . COOKIEHASH, stripslashes($comment_author_url), time() + 30000000, COOKIEPATH); header('Expires: Mon, 11 Jan 1984 05:00:00 GMT'); header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');