diff --git wp-includes/comment-template.php wp-includes/comment-template.php
index e6b246c..e3c8faa 100644
|
|
|
function comment_text( $comment_ID = 0, $args = array() ) { |
| 1034 | 1034 | * @since 1.5.0 |
| 1035 | 1035 | * |
| 1036 | 1036 | * @param string $format Optional. PHP date format. Defaults to the 'time_format' option. |
| | 1037 | * @param int|WP_Comment $comment_ID WP_Comment or ID of the comment for which to get the date. |
| 1037 | 1038 | * @param bool $gmt Optional. Whether to use the GMT date. Default false. |
| 1038 | 1039 | * @param bool $translate Optional. Whether to translate the time (for use in feeds). |
| 1039 | 1040 | * Default true. |
| 1040 | 1041 | * @return string The formatted time. |
| 1041 | 1042 | */ |
| 1042 | | function get_comment_time( $format = '', $gmt = false, $translate = true ) { |
| 1043 | | $comment = get_comment(); |
| | 1043 | function get_comment_time( $format = '', $comment_ID = 0, $gmt = false, $translate = true ) { |
| | 1044 | $comment = get_comment( $comment_ID ); |
| 1044 | 1045 | |
| 1045 | 1046 | $comment_date = $gmt ? $comment->comment_date_gmt : $comment->comment_date; |
| 1046 | 1047 | |