@@ 541-544 (lines=4) @@ | ||
538 | */ |
|
539 | function get_comment_date( $d = '', $comment_ID = 0 ) { |
|
540 | $comment = get_comment( $comment_ID ); |
|
541 | if ( '' == $d ) |
|
542 | $date = mysql2date(get_option('date_format'), $comment->comment_date); |
|
543 | else |
|
544 | $date = mysql2date($d, $comment->comment_date); |
|
545 | /** |
|
546 | * Filters the returned comment date. |
|
547 | * |
|
@@ 1013-1016 (lines=4) @@ | ||
1010 | $comment = get_comment(); |
|
1011 | ||
1012 | $comment_date = $gmt ? $comment->comment_date_gmt : $comment->comment_date; |
|
1013 | if ( '' == $d ) |
|
1014 | $date = mysql2date(get_option('time_format'), $comment_date, $translate); |
|
1015 | else |
|
1016 | $date = mysql2date($d, $comment_date, $translate); |
|
1017 | ||
1018 | /** |
|
1019 | * Filters the returned comment time. |
@@ 2235-2239 (lines=5) @@ | ||
2232 | return false; |
|
2233 | } |
|
2234 | ||
2235 | if ( '' == $d ) { |
|
2236 | $the_date = mysql2date( get_option( 'date_format' ), $post->post_date ); |
|
2237 | } else { |
|
2238 | $the_date = mysql2date( $d, $post->post_date ); |
|
2239 | } |
|
2240 | ||
2241 | /** |
|
2242 | * Filters the date a post was published. |