[wp-trac] [WordPress Trac] #45016: REST API: Expose theme_supports data through a minimal theme controller

WordPress Trac noreply at wordpress.org
Wed Dec 12 03:32:26 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 fixed-5.0  |     Focuses:  rest-api
------------------------------------------------+-----------------------
Changes (by jeremyfelt):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"43985" 43985]:
 {{{
 #!CommitTicketReference repository="" revision="43985"
 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.

 Merges [43734], [43735] to trunk.

 props desrosj.
 Fixes #45016.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45016#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list