Merge pull request #209 from Automattic/remove-redundant-title-attributes

Remove `the_title_attribute` title attributes where it duplicates `the_title` in anchor text. See http://core.trac.wordpress.org/ticket/24203.
This commit is contained in:
Philip Arthur Moore 2013-05-01 18:56:03 -07:00
commit f9a3c2dc1d
1 changed files with 2 additions and 2 deletions

View File

@ -6,8 +6,8 @@
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="entry-header">
<h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', '_s' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
<h1 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
<?php if ( 'post' == get_post_type() ) : ?>
<div class="entry-meta">
<?php _s_posted_on(); ?>