Make WordPress Core

Changes between Version 2 and Version 3 of Ticket #42517, comment 1


Ignore:
Timestamp:
11/12/2017 06:37:45 PM (7 years ago)
Author:
birgire
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #42517, comment 1

    v2 v3  
    1717}}}
    1818
    19 I'm not sure what the header-concensus is regarding that or how the plugin/theme headers are parsed in plugins.wordpress.org? But maybe that could be adapted?
     19I'm not sure what the header-concensus is regarding that or how the submitted plugin/theme headers are parsed in wordpress.org? But maybe that could be adapted if needed?
    2020
    2121Another approach that comes to mind, if we only want to allow a single opening php tag and a possible single closing php tag, around the header, is to replace the first php opening and the first possible closing tag, before running the unchanged match-regex in {{{get_file_data()}}}.