mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
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:
+1
-2
@@ -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
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user