Make WordPress Core

Opened 20 years ago

Closed 20 years ago

Last modified 7 years ago

#249 closed defect (bug) (fixed)

Password protected entries don't show comment area

Reported by: karsh's profile karsh Owned by: matt's profile 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.

http://wordpress.org/support/3/12037

Change History (8)

#2 @matt
20 years ago

  • Patch set to No
  • Status changed from new to assigned

Maybe a Kubrick issue? Can't recreate in included templates.

#3 @anonymousbugger
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 @schultemn
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

?>

#5 @anonymousbugger
20 years ago

i'm using 1.5 beta. having the same problem. regardless of whatever themes i use

#6 @MC_incubus
20 years ago

Was able to duplicate it in 1.5 with included Kubrick, but not for the "Classic" theme.

#7 @matt
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.

This ticket was mentioned in Slack in #docs by atachibana. View the logs.


7 years ago

Note: See TracTickets for help on using tickets.