[wp-trac] [WordPress Trac] #45016: REST API: Expose theme_supports data through a minimal theme controller
WordPress Trac
noreply at wordpress.org
Tue Oct 9 19:52:33 UTC 2018
#45016: REST API: Expose theme_supports data through a minimal theme controller
------------------------------------------+-----------------------
Reporter: danielbachhuber | Owner: desrosj
Type: enhancement | Status: assigned
Priority: normal | Milestone: 5.0
Component: General | Version:
Severity: normal | Resolution:
Keywords: needs-patch needs-unit-tests | Focuses: rest-api
------------------------------------------+-----------------------
Comment (by danielbachhuber):
Worth noting too: we may be able to steal some code from
https://github.com/WP-API/wp-api-plugins-themes-endpoints.
The ideal endpoint is something like `/wp/v2/themes/current` (I don't have
a strong preference on the naming of 'current' or otherwise), and it would
only expose the limited fields we need right now.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45016#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list