From 72990cd0945bbf0e57013f375857788d3cf00051 Mon Sep 17 00:00:00 2001 From: azaozz 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: http://svn.automattic.com/wordpress/trunk@12396 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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); } /**