[wp-trac] [WordPress Trac] #20215: get_comment_date() got wrong mysql2date()-Call
WordPress Trac
wp-trac at lists.automattic.com
Sun Mar 11 12:59:01 UTC 2012
#20215: get_comment_date() got wrong mysql2date()-Call
--------------------------+-----------------------------
Reporter: Jurik | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Comments | Version: 3.3.1
Severity: normal | Keywords: needs-patch
--------------------------+-----------------------------
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".
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20215>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list