[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 23:41:07 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: has-patch |
-----------------------------+---------------------
Comment (by dd32):
FWIW I think this is part of the bigger discussion around Theme Meta.
Unlike the Plugin Directory, Themes have no way to define extra meta-data
like this, or even to have a theme description that isn't one-long-line-
that's-unreadable-because-it-just-keeps-on-going-on-and-on.
The patch as-is adds it to the Theme style.css headers, which seems like
the wrong place for it - but the only place we currently have.
All new themes in the repo need to have a `readme.txt` - but the theme
directory doesn't parse anything from it - #215
To me, it feels like the implementation should match
[https://make.wordpress.org/plugins/2017/08/29/minimum-php-version-
requirement/ what plugins have], where it's included in the readme (which
is where all the Metadata ultimately comes from).
I have a feeling that borrowing the plugin directory readme parser and
only supporting headers / description wouldn't require too much effort
here and would provide for a much better platform for future changes (such
as supporting a minimum WP version requirement too, etc)
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/3718#comment:4>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list