From 1e63fe0f2c24707b82f66912971566a3692d44d1 Mon Sep 17 00:00:00 2001 From: audrasjb Date: Thu, 1 Dec 2022 22:08:12 +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. Built from https://develop.svn.wordpress.org/trunk@54925 git-svn-id: http://core.svn.wordpress.org/trunk@54477 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- .../twentytwenty/classes/class-twentytwenty-walker-comment.php | 3 +-- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/wp-content/themes/twentytwenty/classes/class-twentytwenty-walker-comment.php b/wp-content/themes/twentytwenty/classes/class-twentytwenty-walker-comment.php index bf348dcd33..4ac2569b4b 100644 --- a/wp-content/themes/twentytwenty/classes/class-twentytwenty-walker-comment.php +++ b/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 ) ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 304d2817db..9bfe237da2 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.2-alpha-54924'; +$wp_version = '6.2-alpha-54925'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.