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

WordPress Trac noreply at wordpress.org
Thu Mar 31 23:29:30 UTC 2022


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

 * Attachment "33888.3.diff" added.

 Patch refreshed against trunk. Added missing `{}` in `if` statements,
 removed extraneous semi-colon + PHPCS fixes.

-- 
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