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
This commit is contained in:
Jb Audras 2022-12-01 22:06:29 +00:00
parent 7871b02404
commit d27a075613

View File

@ -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 )
);