diff -r 34716fd837a4 -r be944660c56a wp/wp-includes/class-walker-comment.php --- a/wp/wp-includes/class-walker-comment.php Tue Dec 15 15:52:01 2020 +0100 +++ b/wp/wp-includes/class-walker-comment.php Wed Sep 21 18:19:35 2022 +0200 @@ -200,7 +200,7 @@ } if ( 'comment' === $comment->comment_type ) { - remove_filter( 'comment_text', array( $this, 'filter_comment_text' ), 40, 2 ); + remove_filter( 'comment_text', array( $this, 'filter_comment_text' ), 40 ); } } @@ -301,7 +301,7 @@ if ( $commenter['comment_author_email'] ) { $moderation_note = __( 'Your comment is awaiting moderation.' ); } else { - $moderation_note = __( 'Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.' ); + $moderation_note = __( 'Your comment is awaiting moderation. This is a preview; your comment will be visible after it has been approved.' ); } ?> < has_children ? 'parent' : '', $comment ); ?> id="comment-"> @@ -333,15 +333,21 @@
-
+
%s', + esc_url( get_comment_link( $comment, $args ) ), + sprintf( + /* translators: 1: Comment date, 2: Comment time. */ + __( '%1$s at %2$s' ), + get_comment_date( '', $comment ), + get_comment_time() + ) + ); + + edit_comment_link( __( '(Edit)' ), '   ', '' ); ?> - -
< id="comment-" has_children ? 'parent' : '', $comment ); ?>> @@ -427,15 +433,21 @@
- - - - ', '' ); ?> + ', + esc_url( get_comment_link( $comment, $args ) ), + get_comment_time( 'c' ), + sprintf( + /* translators: 1: Comment date, 2: Comment time. */ + __( '%1$s at %2$s' ), + get_comment_date( '', $comment ), + get_comment_time() + ) + ); + + edit_comment_link( __( 'Edit' ), ' ', '' ); + ?>
comment_approved ) : ?>