[wp-trac] [WordPress Trac] #33388: WP_Theme should use get_file_data() for retrieving page templates

WordPress Trac noreply at wordpress.org
Thu Aug 14 07:57:07 UTC 2025


#33388: WP_Theme should use get_file_data() for retrieving page templates
-------------------------------------------------+-------------------------
 Reporter:  dd32                                 |       Owner:
                                                 |  SergeyBiryukov
     Type:  defect (bug)                         |      Status:  reviewing
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  Themes                               |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  needs-testing has-patch needs-       |     Focuses:
  refresh                                        |
-------------------------------------------------+-------------------------
Changes (by mosescursor):

 * Attachment "33888.4.diff" added.

 Changed from $header to $type so declared post types are correctly
 applied.

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


More information about the wp-trac mailing list