Make WordPress Core


Ignore:
Timestamp:
12/01/2022 10:06:29 PM (19 months ago)
Author:
audrasjb
Message:

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.

File:
1 edited

Legend:

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

    r51322 r54925  
    7373
    7474                            printf(
    75                                 '<a href="%s"><time datetime="%s" title="%s">%s</time></a>',
     75                                '<a href="%s"><time datetime="%s">%s</time></a>',
    7676                                esc_url( get_comment_link( $comment, $args ) ),
    7777                                get_comment_time( 'c' ),
    78                                 esc_attr( $comment_timestamp ),
    7978                                esc_html( $comment_timestamp )
    8079                            );
Note: See TracChangeset for help on using the changeset viewer.