From 5dd7bb86d35da7b30a41ba857434b87e2d0bfd5c Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Mon, 14 Dec 2009 10:21:58 +0000 Subject: [PATCH] Add another arg to 'get_comment_time' filter, props miqrogroove, fixes #11421 git-svn-id: https://develop.svn.wordpress.org/trunk@12396 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/comment-template.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/comment-template.php b/wp-includes/comment-template.php index 8944405add..321080afbf 100644 --- a/wp-includes/comment-template.php +++ b/wp-includes/comment-template.php @@ -599,12 +599,12 @@ function comment_text() { */ function get_comment_time( $d = '', $gmt = false, $translate = true ) { global $comment; - $comment_date = $gmt? $comment->comment_date_gmt : $comment->comment_date; + $comment_date = $gmt ? $comment->comment_date_gmt : $comment->comment_date; if ( '' == $d ) $date = mysql2date(get_option('time_format'), $comment_date, $translate); else $date = mysql2date($d, $comment_date, $translate); - return apply_filters('get_comment_time', $date, $d, $gmt); + return apply_filters('get_comment_time', $date, $d, $gmt, $translate); } /**