| @@ 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. | |
| @@ 2201-2205 (lines=5) @@ | ||
| 2198 | return false; | |
| 2199 | } | |
| 2200 | ||
| 2201 | 	if ( '' == $d ) { | |
| 2202 | $the_date = mysql2date( get_option( 'date_format' ), $post->post_date ); | |
| 2203 | 	} else { | |
| 2204 | $the_date = mysql2date( $d, $post->post_date ); | |
| 2205 | } | |
| 2206 | ||
| 2207 | /** | |
| 2208 | * Filters the date a post was published. | |