From 176f9a787b581857defe77eb1b6b1ba56b4dde5b Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Sat, 26 Nov 2022 22:41:42 +0000 Subject: [PATCH] Twenty Nineteen: Remove useless `title` attributes. This changeset removes `title` attributes from links, as they are adding redundant information. Props sabernhardt. See #57199, #24766, #24203. git-svn-id: https://develop.svn.wordpress.org/trunk@54885 602fd350-edb4-49c9-b593-d223f7449a82 --- .../classes/class-twentynineteen-walker-comment.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/wp-content/themes/twentynineteen/classes/class-twentynineteen-walker-comment.php b/src/wp-content/themes/twentynineteen/classes/class-twentynineteen-walker-comment.php index 3e02cf542f..f501de695a 100644 --- a/src/wp-content/themes/twentynineteen/classes/class-twentynineteen-walker-comment.php +++ b/src/wp-content/themes/twentynineteen/classes/class-twentynineteen-walker-comment.php @@ -78,10 +78,9 @@ class TwentyNineteen_Walker_Comment extends Walker_Comment { $comment_timestamp = sprintf( __( '%1$s at %2$s', 'twentynineteen' ), get_comment_date( '', $comment ), get_comment_time() ); printf( - '', + '', esc_url( get_comment_link( $comment, $args ) ), get_comment_time( 'c' ), - esc_attr( $comment_timestamp ), $comment_timestamp );