[wp-trac] [WordPress Trac] #39072: Add gmt_offset as a REST API setting
WordPress Trac
noreply at wordpress.org
Tue Jul 9 18:23:39 UTC 2019
#39072: Add gmt_offset as a REST API setting
------------------------------------------+-----------------------------
Reporter: jshreve | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: REST API | Version: 4.7
Severity: normal | Resolution:
Keywords: needs-unit-tests needs-patch | Focuses: rest-api
------------------------------------------+-----------------------------
Comment (by TimothyBlynJacobs):
@nickylimjj It looks like the values themselves were added to the site
info endpoint in #39854. So the most straightforward solution would be to
register the setting in `register_initial_settings()`.
However, that wouldn't solve the weirdness that @jnylen0 mentioned.
Perhaps @rarst has some thoughts on this with the current date-time
improvements going on in core?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39072#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list