WordPress.org

Make WordPress Core

#52121 closed defect (bug) (fixed)

Twenty Ten: Correct $post_title variable name

Reported by: sabernhardt Owned by: sabernhardt
Milestone: 5.7 Priority: normal
Severity: normal Version:
Component: Bundled Theme Keywords: has-patch
Focuses: Cc:

Description

In changeset 45609, the $post_title variable for the attachment's parent post link was missing a letter ($post_tile) when defined. So echoing the undefined $post_title variable causes a PHP error on the attachment page.

Attachments (1)

52121.patch (799 bytes) - added by sabernhardt 12 months ago.

Download all attachments as: .zip

Change History (3)

@sabernhardt
12 months ago

#1 @sabernhardt
12 months ago

  • Owner set to sabernhardt
  • Status changed from new to accepted

#2 @SergeyBiryukov
12 months ago

  • Resolution set to fixed
  • Status changed from accepted to closed

In 49840:

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

Follow-up to [45609] / #47632.

Props sabernhardt.
Fixes #52121.

Note: See TracTickets for help on using tickets.