Make WordPress Core

Changeset 54885


Ignore:
Timestamp:
11/26/2022 10:41:42 PM (15 months ago)
Author:
audrasjb
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentynineteen/classes/class-twentynineteen-walker-comment.php

    r49159 r54885  
    7979
    8080                        printf(
    81                             '<a href="%s"><time datetime="%s" title="%s">%s</time></a>',
     81                            '<a href="%s"><time datetime="%s">%s</time></a>',
    8282                            esc_url( get_comment_link( $comment, $args ) ),
    8383                            get_comment_time( 'c' ),
    84                             esc_attr( $comment_timestamp ),
    8584                            $comment_timestamp
    8685                        );
Note: See TracChangeset for help on using the changeset viewer.