[wp-trac] [WordPress Trac] #39854: REST API: Add gmt_offset to base /wp-json response
WordPress Trac
noreply at wordpress.org
Tue Mar 7 05:43:08 UTC 2017
#39854: REST API: Add gmt_offset to base /wp-json response
---------------------------------------------+-----------------------
Reporter: jnylen0 | Owner: jnylen0
Type: enhancement | Status: accepted
Priority: normal | Milestone: 4.7.4
Component: REST API | Version: 4.7
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests commit | Focuses: rest-api
---------------------------------------------+-----------------------
Comment (by jnylen0):
When you run the entire `phpunit` test suite it also updates the `wp-api-
generated.js` fixture file if needed. When we make changes to the default
API responses, this file needs to be updated as well. See #39264 for more
info about that.
[attachment:39854.6.diff] is the same patch but with the updates to the
fixture file.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39854#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list