Remove title attributes where it duplicates in anchor text. See http://core.trac.wordpress.org/ticket/24203.

This commit is contained in:
Philip Arthur Moore 2013-04-30 20:21:29 +09:00
parent 7ac501c70a
commit 9a633b9236
1 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@
<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">