Twenty Ten: Correct $post_title variable name in loop-attachment.php.

Follow-up to [45609] / #47632.

Props sabernhardt.
Fixes #52121.

git-svn-id: https://develop.svn.wordpress.org/trunk@49840 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2020-12-19 20:43:49 +00:00
parent 6bd2959638
commit 93c504a57a

View File

@ -24,7 +24,7 @@ if ( have_posts() ) {
<?php
if ( ! empty( $post->post_parent ) ) :
/* translators: %s: Post title. */
$post_tile = sprintf( __( 'Go to %s', 'twentyten' ), strip_tags( get_the_title( $post->post_parent ) ) );
$post_title = sprintf( __( 'Go to %s', 'twentyten' ), strip_tags( get_the_title( $post->post_parent ) ) );
?>
<p class="page-title"><a href="<?php echo esc_url( get_permalink( $post->post_parent ) ); ?>" title="<?php echo esc_attr( $post_title ); ?>" rel="gallery">
<?php