From 8c1d559c273fb8e0ef9028eae16a56fa969a1b0d Mon Sep 17 00:00:00 2001 From: audrasjb Date: Sat, 26 Nov 2022 22:43:12 +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. Built from https://develop.svn.wordpress.org/trunk@54885 git-svn-id: http://core.svn.wordpress.org/trunk@54437 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- .../classes/class-twentynineteen-walker-comment.php | 3 +-- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/wp-content/themes/twentynineteen/classes/class-twentynineteen-walker-comment.php b/wp-content/themes/twentynineteen/classes/class-twentynineteen-walker-comment.php index 3e02cf542f..f501de695a 100644 --- a/wp-content/themes/twentynineteen/classes/class-twentynineteen-walker-comment.php +++ b/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 ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 47602df5cf..e52bd2ef8c 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.2-alpha-54884'; +$wp_version = '6.2-alpha-54885'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.