From d27a0756130fdee9a94f5bfc6f8a296bef75d739 Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Thu, 1 Dec 2022 22:06:29 +0000 Subject: [PATCH] Twenty Twenty: Remove unwanted `title` attributes. This changeset removes `title` attributes from various links, as they add redundant information. Follow-up to [53844]. Props sabernhardt, costdev, mukesh27. See #57199, #24766, #24203. git-svn-id: https://develop.svn.wordpress.org/trunk@54925 602fd350-edb4-49c9-b593-d223f7449a82 --- .../twentytwenty/classes/class-twentytwenty-walker-comment.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 bf348dcd33..4ac2569b4b 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 @@ -72,10 +72,9 @@ if ( ! class_exists( 'TwentyTwenty_Walker_Comment' ) ) { $comment_timestamp = sprintf( __( '%1$s at %2$s', 'twentytwenty' ), get_comment_date( '', $comment ), get_comment_time() ); printf( - '', + '', esc_url( get_comment_link( $comment, $args ) ), get_comment_time( 'c' ), - esc_attr( $comment_timestamp ), esc_html( $comment_timestamp ) );