#249 closed defect (bug) (fixed)
Password protected entries don't show comment area
Reported by: | karsh | Owned by: | matt |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | major | Version: | 1.2 |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
Password protected entries in Wordpress 1.2 won't show the comment form even when the password has been entered.
Change History (8)
#3
@
20 years ago
I'm also running a test blog without Kubrick on my local server with Wordpress 1.2 and the same problem occurs.
#4
@
20 years ago
This seems to be related to the kubrick theme; I have the same problem with kubrick (in 1.5 as well) and when I go back to the classic theme the comments are shown with the correct password.
Probably has to do with how the kubrick comments.php is structured?
Somewhere in here, perhaps:
<?php Do not delete these lines
if ('comments.php' == basename($_SERVERSCRIPT_FILENAME?))
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
?>
#6
@
20 years ago
Was able to duplicate it in 1.5 with included Kubrick, but not for the "Classic" theme.
#7
@
20 years ago
- fixed_in_version set to 1.5
- Owner changed from anonymous to matt
- Resolution changed from 10 to 20
- Status changed from assigned to closed
Fixed with COOKIEHASH.
Maybe a Kubrick issue? Can't recreate in included templates.