[wp-trac] [WordPress Trac] #39854: REST API: Add gmt_offset to base /wp-json response

WordPress Trac noreply at wordpress.org
Wed Mar 1 00:31:36 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  |     Focuses:  rest-api
--------------------------------------+-----------------------
Changes (by jnylen0):

 * keywords:  needs-unit-tests has-patch => has-patch has-unit-tests
 * milestone:  4.8 => 4.7.4


Comment:

 [attachment:39854.5.patch] looks good to me, thank you @sagarkbhatt.

 I don't have any specific concerns with exposing this new information
 either, but my first thought was to restrict it since it's not really
 available elsewhere.  Unless someone disagrees with the approach here,
 we'll get it committed after the 4.7.3 release ships.

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


More information about the wp-trac mailing list