[wp-trac] [WordPress Trac] #42980: get_plugin_data does not support PHP Version
WordPress Trac
noreply at wordpress.org
Tue Dec 26 02:09:15 UTC 2017
#42980: get_plugin_data does not support PHP Version
----------------------------+------------------------------
Reporter: dshanske | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Plugins | Version:
Severity: normal | Resolution:
Keywords: good-first-bug | Focuses:
----------------------------+------------------------------
Comment (by dd32):
`get_plugin_data()` returns the data from the plugin `.php` headers, where
as the requires php header is in the `readme.txt`.
Plugins can read the data directly using `get_file_data()` and specifying
arbitrary header names, so I'm not sure anything is needed here yet?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42980#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list