Better escaping in 2010 attachment.php. fixes #13198, see [14789].
git-svn-id: https://develop.svn.wordpress.org/trunk@14791 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8cd95d95fe
commit
d5263992f6
|
@ -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