Make WordPress Core

Ticket #11421: ticket-11421-comment-template.patch

File ticket-11421-comment-template.patch, 529 bytes (added by miqrogroove, 15 years ago)

Adds $translate parameter to the get_comment_time() filter.

  • wp-includes/comment-template.php

     
    604604                $date = mysql2date(get_option('time_format'), $comment_date, $translate);
    605605        else
    606606                $date = mysql2date($d, $comment_date, $translate);
    607         return apply_filters('get_comment_time', $date, $d, $gmt);
     607        return apply_filters('get_comment_time', $date, $d, $gmt, $translate);
    608608}
    609609
    610610/**