Make WordPress Core

Ticket #19849: 19849.patch

File 19849.patch, 1.1 KB (added by SergeyBiryukov, 12 years ago)
  • src/wp-includes/comment-template.php

     
    472472         *
    473473         * @since 1.5.0
    474474         *
    475          * @param string|int $date Formatted date string or Unix timestamp.
    476          * @param string     $d    The format of the date.
     475         * @param string|int $date    Formatted date string or Unix timestamp.
     476         * @param string     $d       The format of the date.
     477         * @param object     $comment The comment object.
    477478         */
    478         return apply_filters( 'get_comment_date', $date, $d );
     479        return apply_filters( 'get_comment_date', $date, $d, $comment );
    479480}
    480481
    481482/**
     
    820821         * @param string     $d         Date format.
    821822         * @param bool       $gmt       Whether the GMT date is in use.
    822823         * @param bool       $translate Whether the time is translated.
     824         * @param object     $comment   The comment object.
    823825         */
    824         return apply_filters( 'get_comment_time', $date, $d, $gmt, $translate );
     826        return apply_filters( 'get_comment_time', $date, $d, $gmt, $translate, $comment );
    825827}
    826828
    827829/**