Changeset 4498

Show
Ignore:
Timestamp:
11/20/06 01:46:20 (2 years ago)
Author:
ryan
Message:

Pass format string and gmtbool as args to data and time filters. Props sdiz. fixes #2754

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-includes/comment-template.php

    r4495 r4498  
    9494    else 
    9595        $date = mysql2date($d, $comment->comment_date); 
    96     return apply_filters('get_comment_date', $date); 
     96    return apply_filters('get_comment_date', $date, $d); 
    9797} 
    9898 
     
    192192    else 
    193193        $date = mysql2date($d, $comment_date); 
    194     return apply_filters('get_comment_time', $date); 
     194    return apply_filters('get_comment_time', $date, $d, $gmt); 
    195195} 
    196196