wordpress-develop/src/wp-includes/rest-api
Pascal Birchler 54baae39b2 REST API: Use get_gmt_from_date() when preparing a draft post for response.
This prevents wrong dates when dealing with DST, see [40115] and [40284].

Props nerrad.
Fixes #40136.

git-svn-id: https://develop.svn.wordpress.org/trunk@40324 602fd350-edb4-49c9-b593-d223f7449a82
2017-03-24 17:31:54 +00:00
..
endpoints REST API: Use get_gmt_from_date() when preparing a draft post for response. 2017-03-24 17:31:54 +00:00
fields REST API: Return a WP_Error if meta property is not an array. 2016-12-02 21:55:09 +00:00
class-wp-rest-request.php REST API: Correctly parse body parameters for DELETE requests. 2017-02-23 20:09:11 +00:00
class-wp-rest-response.php DOCS: Replace HTTP links with HTTPS. 2016-06-10 04:49:09 +00:00
class-wp-rest-server.php REST API: Add gmt_offset and timezone_string to the base /wp-json response. 2017-03-07 05:47:32 +00:00