[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 18:33:07 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
--------------------------------------+-----------------------

Comment (by adamsilverstein):

 > 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.

 The updates to this file look correct and can be included in the commit.
 These are generated during the phpunit run and later used by the REST API
 tests to provide mocked responses. Since you added an endpoint it is
 expected the fixture would be updated.

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


More information about the wp-trac mailing list