[wp-trac] [WordPress Trac] #33387: get_file_data() should handle a <?php prefixed header
WordPress Trac
noreply at wordpress.org
Fri Jun 18 14:02:59 UTC 2021
#33387: get_file_data() should handle a <?php prefixed header
-----------------------------------------------------+---------------------
Reporter: dd32 | Owner: m_uysl
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.8
Component: Themes | Version:
Severity: normal | Resolution: fixed
Keywords: good-first-bug has-patch has-unit-tests | Focuses:
-----------------------------------------------------+---------------------
Changes (by SergeyBiryukov):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"51182" 51182]:
{{{
#!CommitTicketReference repository="" revision="51182"
Themes: Make sure `get_file_data()` recognizes headers prefixed by `<?php`
tag.
This allows for using headers in the format of `<?php // Template Name:
Something ?>`, which previously could not be recognized correctly.
Props dd32, m_uysl, thomas-vitale, boblinthorst.
Fixes #33387.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33387#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list