[wp-trac] [WordPress Trac] #42980: get_plugin_data does not support PHP Version

WordPress Trac noreply at wordpress.org
Tue Oct 1 19:04:15 UTC 2019


#42980: get_plugin_data does not support PHP Version
----------------------------+-----------------------
 Reporter:  dshanske        |       Owner:  (none)
     Type:  enhancement     |      Status:  reopened
 Priority:  normal          |   Milestone:
Component:  Plugins         |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  good-first-bug  |     Focuses:
----------------------------+-----------------------
Changes (by wpscholar):

 * status:  closed => reopened
 * resolution:  invalid =>


Comment:

 @dd32 The WordPress handbook indicates that `Requires PHP` and `Requires
 at least` are both valid plugin headers:
 https://developer.wordpress.org/plugins/plugin-basics/header-requirements/

 Either we need to update the documentation, or we should add both of these
 new plugin headers to the `get_plugin_data()` function.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/42980#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list