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. Built from https://develop.svn.wordpress.org/trunk@54885 git-svn-id: http://core.svn.wordpress.org/trunk@54437 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ca5bf74221
commit
8c1d559c27
|
@ -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
|
||||
);
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.2-alpha-54884';
|
||||
$wp_version = '6.2-alpha-54885';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue