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

WordPress Trac noreply at wordpress.org
Wed Oct 2 01:47:21 UTC 2019


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

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


Comment:

 Replying to [comment:4 wpscholar]:
 > @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.

 That wasn't the case 21 months ago :)

 This has since been implemented through #46938.

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


More information about the wp-trac mailing list