#4514 closed enhancement (fixed)
Add support for 'Requires at least' and 'Requires PHP' headers in the main plugin file
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Plugin Directory | Keywords: | |
Cc: |
Description (last modified by )
Background: #2952 added support for Requires PHP
plugin header.
At the time, it made sense to have it defined in the same place as Requires at least
, which only exists in readme.txt
.
Per discussion with @Otto42 in #WP46938, a decision was made for WP core to read both Requires at least
and Requires PHP
headers from the plugin's main PHP file as well, and give precedence to those instead of the ones from the readme.txt
file.
For consistency, Plugin Directory should do the same.
Change History (3)
Note: See
TracTickets for help on using
tickets.
In 9050: