[wp-trac] [WordPress Trac] #39953: REST API: Do not update date when preparing post if date is known to be "floating"
WordPress Trac
noreply at wordpress.org
Fri Jan 17 02:02:54 UTC 2020
#39953: REST API: Do not update date when preparing post if date is known to be
"floating"
-------------------------------------------------+-------------------------
Reporter: jnylen0 | Owner: kadamwhite
Type: enhancement | Status: closed
Priority: normal | Milestone: 5.3
Component: REST API | Version: 4.7
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests has-dev- | Focuses: rest-api
note |
-------------------------------------------------+-------------------------
Comment (by SergeyBiryukov):
In [changeset:"47080" 47080]:
{{{
#!CommitTicketReference repository="" revision="47080"
Tests: Replace `date()` with `gmdate()` in `WP_Test_REST_Posts_Controller`
tests.
Follow-up to [45424], [46252].
See #46438, #44491, #39953.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39953#comment:73>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list