Commit 1e63fe0f2c for wordpress.org
commit 1e63fe0f2c24707b82f66912971566a3692d44d1
Author: audrasjb <audrasjb@git.wordpress.org>
Date: Thu Dec 1 22:08:12 2022 +0000
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
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(
- '<a href="%s"><time datetime="%s" title="%s">%s</time></a>',
+ '<a href="%s"><time datetime="%s">%s</time></a>',
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.