WordPress.org

Make WordPress Core

Changeset 14791


Ignore:
Timestamp:
05/21/10 19:32:01 (4 years ago)
Author:
nacin
Message:

Better escaping in 2010 attachment.php. fixes #13198, see [14789].

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentyten/attachment.php

    r14790 r14791  
    1616<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?> 
    1717 
    18                 <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">&larr; <?php echo get_the_title( $post->post_parent ); ?></a></p> 
     18                <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">&larr; <?php echo get_the_title( $post->post_parent ); ?></a></p> 
    1919 
    2020                <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> 
Note: See TracChangeset for help on using the changeset viewer.