Opened 14 months ago
Closed 14 months ago
#20215 closed defect (bug) (invalid)
get_comment_date() got wrong mysql2date()-Call
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Comments | Version: | 3.3.1 |
| Severity: | normal | Keywords: | reporter-feedback |
| Cc: |
Description
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)
Note: See
TracTickets for help on using
tickets.

Are you sure it's not a plugin or theme issue? The comment_date column exists in the schema definition:
http://core.trac.wordpress.org/browser/tags/3.3.1/wp-admin/includes/schema.php#L96