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.


git-svn-id: https://develop.svn.wordpress.org/trunk@54885 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jb Audras
2022-11-26 22:41:42 +00:00
parent 720264ddbb
commit 176f9a787b
@@ -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(
'<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 ),
$comment_timestamp
);