[wp-meta] [Making WordPress.org] #5099: Themes API not returning compatibility data
Making WordPress.org
noreply at wordpress.org
Thu Mar 12 17:46:39 UTC 2020
#5099: Themes API not returning compatibility data
-------------------------+--------------------------
Reporter: afragen | Owner: (none)
Type: enhancement | Status: new
Priority: high | Milestone:
Component: API | Keywords: dev-feedback
-------------------------+--------------------------
In order for PHP compatibility testing to function with the themes, the
Themes API must be able to return the compatibility headers in the
`readme.txt` file just as the Plugins API does.
https://api.wordpress.org/plugins/info/1.2/?action=plugin_information&request[slug
]=wordpress-beta-tester returns data for `requires` and `requires_php`.
https://api.wordpress.org/themes/info/1.2/?action=theme_information&request[slug]=twentytwenty
simply returns `false` for `requires` and `requires_php`. These data are
set, along with `tested` in the theme's `readme.txt` file.
These data are necessary for #49334, testing compatibility of themes to
install.
Ping @dd32
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/5099>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list