From 635b80fe4b5c14120949979bd8fa34df3d426f2b Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Fri, 11 Feb 2005 02:08:24 +0000 Subject: [PATCH] Template cookie prob - http://mosquito.wordpress.org/view.php?id=805 git-svn-id: https://develop.svn.wordpress.org/trunk@2260 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-content/themes/default/comments.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-content/themes/default/comments.php b/wp-content/themes/default/comments.php index 871fc7e371..ae6946ba6c 100644 --- a/wp-content/themes/default/comments.php +++ b/wp-content/themes/default/comments.php @@ -3,7 +3,7 @@ die ('Please do not load this page directly. Thanks!'); if (!empty($post->post_password)) { // if there's a password - if ($_COOKIE['wp-postpass_'.$cookiehash] != $post->post_password) { // and it doesn't match the cookie + if ($_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) { // and it doesn't match the cookie ?>