[wp-trac] [WordPress Trac] #52121: Twenty Ten: Correct $post_title variable name

WordPress Trac noreply at wordpress.org
Sat Dec 19 20:25:32 UTC 2020


#52121: Twenty Ten: Correct $post_title variable name
---------------------------+-----------------------
 Reporter:  sabernhardt    |      Owner:  (none)
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  5.7
Component:  Bundled Theme  |    Version:
 Severity:  normal         |   Keywords:  has-patch
  Focuses:                 |
---------------------------+-----------------------
 In [https://core.trac.wordpress.org/changeset/45609/trunk/src/wp-
 content/themes/twentyten/loop-attachment.php 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.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52121>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list