[wp-trac] [WordPress Trac] #41717: WP_Theme::get_post_templates() fails to read parent theme

WordPress Trac noreply at wordpress.org
Mon Oct 23 20:07:08 UTC 2017


#41717: WP_Theme::get_post_templates() fails to read parent theme
---------------------------------------------+-------------------------
 Reporter:  JoelStransky                     |       Owner:  swissspidy
     Type:  defect (bug)                     |      Status:  closed
 Priority:  normal                           |   Milestone:  4.9
Component:  Themes                           |     Version:  4.7
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit  |     Focuses:
---------------------------------------------+-------------------------
Changes (by swissspidy):

 * owner:   => swissspidy
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"41975"]:
 {{{
 #!CommitTicketReference repository="" revision="41975"
 Themes: Show templates from both parent and child theme when calling
 `WP_Theme::get_post_templates()`.

 Props birgire for initial patch.
 Fixes #41717.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/41717#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list