mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
After [33961], pass $comment to get_comment_date() where possible to avoid extra cache/db lookups.
See #33638. git-svn-id: https://develop.svn.wordpress.org/trunk@34041 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -195,8 +195,8 @@ if ( $comment->comment_approved != '0' ) { // if not unapproved
|
||||
printf( __( '<a href="%1$s">%2$s at %3$s</a>' ),
|
||||
esc_url( get_comment_link( $comment->comment_ID ) ),
|
||||
/* translators: comment date format. See http://php.net/date */
|
||||
get_comment_date( __( 'Y/m/d' ) ),
|
||||
get_comment_date( get_option( 'time_format' ) )
|
||||
get_comment_date( __( 'Y/m/d' ), $comment ),
|
||||
get_comment_date( get_option( 'time_format' ), $comment )
|
||||
);
|
||||
?>
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user