From 9952fe0bc494ad58d9e35b0d7b34d6d9e3e961d1 Mon Sep 17 00:00:00 2001 From: ryan Date: Mon, 20 Nov 2006 01:46:20 +0000 Subject: [PATCH] Pass format string and gmtbool as args to data and time filters. Props sdiz. fixes #2754 git-svn-id: http://svn.automattic.com/wordpress/trunk@4498 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 653f109e2a..3fee66a206 100644 --- a/wp-includes/comment-template.php +++ b/wp-includes/comment-template.php @@ -93,7 +93,7 @@ function get_comment_date( $d = '' ) { $date = mysql2date( get_option('date_format'), $comment->comment_date); else $date = mysql2date($d, $comment->comment_date); - return apply_filters('get_comment_date', $date); + return apply_filters('get_comment_date', $date, $d); } function comment_date( $d = '' ) { @@ -191,7 +191,7 @@ function get_comment_time( $d = '', $gmt = false ) { $date = mysql2date(get_option('time_format'), $comment_date); else $date = mysql2date($d, $comment_date); - return apply_filters('get_comment_time', $date); + return apply_filters('get_comment_time', $date, $d, $gmt); } function comment_time( $d = '' ) {