_s: Adjust escaping for the title attribute.

git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@9865 d957f892-c61d-0410-b221-f235e6eecf30
This commit is contained in:
Michelle Langston 2012-06-15 00:04:50 +00:00
parent 6a0c5d2d78
commit dd8ca3eec6
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,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 printf( esc_attr__( '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(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', '_s' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
<?php if ( 'post' == get_post_type() ) : ?>
<div class="entry-meta">