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

WordPress Trac noreply at wordpress.org
Mon Oct 15 20:31:25 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:  has-patch has-unit-tests  |     Focuses:  rest-api
--------------------------------------+-----------------------
Changes (by desrosj):

 * keywords:  needs-patch needs-unit-tests => has-patch has-unit-tests


Comment:

 The theme controller was merged in
 [https://github.com/WordPress/gutenberg/commit/de2fab7b8d66eea6c1aeb4a51308d47225fc5df8
 de2fab7]. [attachment:"45016.diff"] is a patch for moving the bare-bones
 theme endpoint into Core against the 5.0 branch. It should also apply to
 `trunk` cleanly.

 I wasn't sure about including the `tests/qunit/fixtures/wp-api-
 generated.js` changes in the patch vs. those being made pre-commit. That
 file was automatically updated.

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


More information about the wp-trac mailing list