Ticket #19849: 19849.patch
| File 19849.patch, 1.1 KB (added by , 12 years ago) |
|---|
-
src/wp-includes/comment-template.php
472 472 * 473 473 * @since 1.5.0 474 474 * 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. 477 478 */ 478 return apply_filters( 'get_comment_date', $date, $d );479 return apply_filters( 'get_comment_date', $date, $d, $comment ); 479 480 } 480 481 481 482 /** … … 820 821 * @param string $d Date format. 821 822 * @param bool $gmt Whether the GMT date is in use. 822 823 * @param bool $translate Whether the time is translated. 824 * @param object $comment The comment object. 823 825 */ 824 return apply_filters( 'get_comment_time', $date, $d, $gmt, $translate );826 return apply_filters( 'get_comment_time', $date, $d, $gmt, $translate, $comment ); 825 827 } 826 828 827 829 /**