[wp-trac] [WordPress Trac] #40136: Failing rest-api test test_empty_post_date_gmt_shimmed_using_post_date
WordPress Trac
noreply at wordpress.org
Tue Mar 14 13:29:06 UTC 2017
#40136: Failing rest-api test test_empty_post_date_gmt_shimmed_using_post_date
-------------------------------------------------+-------------------------
Reporter: afercia | Owner: jnylen0
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: Awaiting
Component: REST API | Review
Severity: major | Version:
Keywords: needs-refresh needs-patch dev- | Resolution:
feedback | Focuses:
-------------------------------------------------+-------------------------
Comment (by nerrad):
I should probably explain more why this is a problem.
On sites where a `timezone_string` is defined, the `timezone_string`
overrides any call to `get_option( 'gmt_offset' )` and provides the offset
derived from the timezone_string (via a `pre_option` filter callback set
in `default-filters.php`). To get this offset, the _current time_ is
used.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40136#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list