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

WordPress Trac noreply at wordpress.org
Mon Feb 27 07:32:44 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.8
Component:  REST API                             |     Version:  4.7
 Severity:  normal                               |  Resolution:
 Keywords:  needs-unit-tests needs-refresh dev-  |     Focuses:  rest-api
  feedback needs-patch                           |
-------------------------------------------------+-------------------------

Comment (by sagarkbhatt):

 -Added gmt_offset and timezone_string field in wp-json response.
 -A user can view both without any authentication.

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


More information about the wp-trac mailing list