[wp-meta] [Making WordPress.org] #3718: Theme Directory: Allow minimum WP and PHP version requirement
Making WordPress.org
noreply at wordpress.org
Tue Jul 17 10:50:11 UTC 2018
#3718: Theme Directory: Allow minimum WP and PHP version requirement
-----------------------------+---------------------
Reporter: flixos90 | Owner: (none)
Type: task | Status: new
Priority: normal | Milestone:
Component: Theme Directory | Resolution:
Keywords: needs-patch |
-----------------------------+---------------------
Comment (by flixos90):
[attachment:"3718.diff"] adds support for a `Requires` header (for
required WP version) and a `Requires PHP` header (for required PHP
version). While we could go with `Requires WP`, I thought it would make
sense to align the names with the names of the plugin headers, so people
can remember them easily for both plugins and themes.
As far as I can tell, my patch covers all areas necessary to have full
support for those headers, but since I haven't contributed to the theme
directory meta part before, I might have missed something else.
Also, be aware that this patch would require
https://core.trac.wordpress.org/ticket/44592 to be merged into core first,
in order to have support for the two headers in the `WP_Theme` class,
which is also used by the theme directory plugin.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/3718#comment:1>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list