Make WordPress Core

Changeset 4498


Ignore:
Timestamp:
11/20/2006 01:46:20 AM (18 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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
Note: See TracChangeset for help on using the changeset viewer.