Make WordPress Core


Ignore:
Timestamp:
04/29/2013 04:57:30 PM (11 years ago)
Author:
lancewillett
Message:

Bundled themes: remove the_title_attribute() title attributes where it duplicates the_title() in anchor text. Props nacin, fixes #24203.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentythirteen/content-link.php

    r23795 r24131  
    1212    <header class="entry-header">
    1313        <h1 class="entry-title">
    14             <a href="<?php echo esc_url( twentythirteen_get_link_url() ); ?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a>
     14            <a href="<?php echo esc_url( twentythirteen_get_link_url() ); ?>"><?php the_title(); ?></a>
    1515        </h1>
    1616
Note: See TracChangeset for help on using the changeset viewer.