Changes between Version 2 and Version 3 of Ticket #42517, comment 1
- Timestamp:
- 11/12/2017 06:37:45 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #42517, comment 1
v2 v3 17 17 }}} 18 18 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?19 I'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? 20 20 21 21 Another 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()}}}.