Make WordPress Core

Opened 12 years ago

Closed 12 years ago

#20215 closed defect (bug) (invalid)

get_comment_date() got wrong mysql2date()-Call

Reported by: jurik's profile Jurik Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.3.1
Component: Comments Keywords: reporter-feedback
Focuses: Cc:


In file 'comment-template.php' line 375 and 378 the function 'mysql2date()' calls:

$date = mysql2date($d, $comment->comment_date);

But "$comment->comment_date" doesn't exist in '$comment' anymore. It's "$comment->comment_date_gmt".

Change History (2)

#1 @scribu
12 years ago

  • Keywords reporter-feedback added; needs-patch removed

Are you sure it's not a plugin or theme issue? The comment_date column exists in the schema definition:

#2 @SergeyBiryukov
12 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

Feel free to reopen with the steps to reproduce if there's still a problem.

Note: See TracTickets for help on using tickets.