Make WordPress Core

Opened 22 years ago

Closed 22 years ago

Last modified 8 years ago

#249 closed defect (bug) (fixed)

Password protected entries don't show comment area

Reported by: karsh Owned by: matt
Priority: normal Milestone:
Component: General Version: 1.2
Severity: major Keywords:
Cc: Focuses:

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
22 years ago

  • Patch → No
  • Status new → assigned

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

#3 @anonymousbugger
22 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
22 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
22 years ago

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

#6 @MC_incubus
22 years ago

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

#7 @matt
22 years ago

  • fixed_in_version → 1.5
  • Owner changed from anonymous to matt
  • Resolution 10 → 20
  • Status assigned → closed

Fixed with COOKIEHASH.

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


8 years ago

Note: See TracTickets for help on using tickets.