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-video.php

    r23899 r24131  
    1919        <?php else : ?>
    2020        <h1 class="entry-title">
    21             <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentythirteen' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a>
     21            <a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a>
    2222        </h1>
    2323        <?php endif; // is_single() ?>
Note: See TracChangeset for help on using the changeset viewer.