mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-10 22:58:33 +02:00
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(); ?>
|
<?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(); ?>>
|
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||||
<h2 class="entry-title"><?php the_title(); ?></h2>
|
<h2 class="entry-title"><?php the_title(); ?></h2>
|
||||||
|
Loading…
Reference in New Issue
Block a user