Make WordPress Core

Ticket #2754: a.patch

File a.patch, 761 bytes (added by sdiz, 20 years ago)
  • wp-includes/

    old new  
    9393                $date = mysql2date( get_settings('date_format'), $comment->comment_date);
    9494        else
    9595                $date = mysql2date($d, $comment->comment_date);
    96         return apply_filters('get_comment_date', $date);
     96        return apply_filters('get_comment_date', $date, $d);
    9797}
    9898
    9999function comment_date( $d = '' ) {
     
    190190                $date = mysql2date(get_settings('time_format'), $comment_date);
    191191        else
    192192                $date = mysql2date($d, $comment_date);
    193         return apply_filters('get_comment_time', $date);
     193        return apply_filters('get_comment_time', $date, $d, $gmt);
    194194}
    195195
    196196function comment_time( $d = '' ) {