[wp-trac] [WordPress Trac] #45016: REST API: Expose theme_supports data through a minimal theme controller
WordPress Trac
noreply at wordpress.org
Tue Oct 16 22:27:08 UTC 2018
#45016: REST API: Expose theme_supports data through a minimal theme controller
--------------------------------------+-----------------------
Reporter: danielbachhuber | Owner: desrosj
Type: enhancement | Status: closed
Priority: normal | Milestone: 5.0
Component: General | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses: rest-api
--------------------------------------+-----------------------
Changes (by kadamwhite):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"43734" 43734]:
{{{
#!CommitTicketReference repository="" revision="43734"
REST API: Introduce themes endpoint to expose theme-supports values for
the active theme.
In order to correctly render parts of its UI, the new editor needs to be
aware of the active theme's post-formats and post-thumbnails support. This
data is exposed by querying for the active theme on a new /wp/v2/themes
endpoint for sufficiently privileged users.
props desrosj.
Fixes #45016.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45016#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list