Make WordPress Core

Changeset 49840 for trunk


Ignore:
Timestamp:
12/19/2020 08:43:49 PM (4 years ago)
Author:
SergeyBiryukov
Message:

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

Follow-up to [45609] / #47632.

Props sabernhardt.
Fixes #52121.

File:
1 edited

Legend:

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

    r49539 r49840  
    2525                if ( ! empty( $post->post_parent ) ) :
    2626                    /* translators: %s: Post title. */
    27                     $post_tile = sprintf( __( 'Go to %s', 'twentyten' ), strip_tags( get_the_title( $post->post_parent ) ) );
     27                    $post_title = sprintf( __( 'Go to %s', 'twentyten' ), strip_tags( get_the_title( $post->post_parent ) ) );
    2828                    ?>
    2929                    <p class="page-title"><a href="<?php echo esc_url( get_permalink( $post->post_parent ) ); ?>" title="<?php echo esc_attr( $post_title ); ?>" rel="gallery">
Note: See TracChangeset for help on using the changeset viewer.