diff --git a/src/wp-content/themes/twentytwenty/classes/class-twentytwenty-walker-comment.php b/src/wp-content/themes/twentytwenty/classes/class-twentytwenty-walker-comment.php index eda038e3c8..c085878cb7 100644 --- a/src/wp-content/themes/twentytwenty/classes/class-twentytwenty-walker-comment.php +++ b/src/wp-content/themes/twentytwenty/classes/class-twentytwenty-walker-comment.php @@ -63,18 +63,24 @@ if ( ! class_exists( 'TwentyTwenty_Walker_Comment' ) ) {
- - - - ', + esc_url( get_comment_link( $comment, $args ) ), + get_comment_time( 'c' ), + esc_attr( $comment_timestamp ), + esc_html( $comment_timestamp ) + ); + if ( get_edit_comment_link() ) { - echo ' ' . __( 'Edit', 'twentytwenty' ) . ''; + printf( + ' %s', + esc_url( get_edit_comment_link() ), + __( 'Edit', 'twentytwenty' ) + ); } ?>