Better escaping in 2010 attachment.php. fixes #13198, see [14789].
git-svn-id: http://svn.automattic.com/wordpress/trunk@14791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9ed4d4011b
commit
7b43d20151
|
@ -15,7 +15,7 @@
|
|||
|
||||
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
|
||||
|
||||
<p class="page-title"><a href="<?php echo get_permalink( $post->post_parent ); ?>" title="<?php printf( esc_attr__( 'Return to %s', 'twentyten' ), get_the_title( $post->post_parent ) ); ?>" rel="gallery">← <?php echo get_the_title( $post->post_parent ); ?></a></p>
|
||||
<p class="page-title"><a href="<?php echo get_permalink( $post->post_parent ); ?>" title="<?php esc_attr( printf( __( 'Return to %s', 'twentyten' ), get_the_title( $post->post_parent ) ) ); ?>" rel="gallery">← <?php echo get_the_title( $post->post_parent ); ?></a></p>
|
||||
|
||||
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
<h2 class="entry-title"><?php the_title(); ?></h2>
|
||||
|
|
Loading…
Reference in New Issue