Make WordPress Core

Opened 3 years ago

Closed 3 years ago

#52121 closed defect (bug) (fixed)

Twenty Ten: Correct $post_title variable name

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


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 3 years ago.

Download all attachments as: .zip

Change History (3)

3 years ago

#1 @sabernhardt
3 years ago

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

#2 @SergeyBiryukov
3 years 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.