From 8d2a32913ef1d11c9f61cd2446989968d755d820 Mon Sep 17 00:00:00 2001 From: Ryan Boren 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: https://develop.svn.wordpress.org/trunk@4498 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 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 = '' ) {