From 173eb4a0980e6ac4fd5c1c254e873d010e238f2d Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Sat, 25 Dec 2004 18:01:06 +0000 Subject: [PATCH] Fix comment cookies. git-svn-id: https://develop.svn.wordpress.org/trunk@2002 602fd350-edb4-49c9-b593-d223f7449a82 --- 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');