WordPress/wp-includes/rest-api/endpoints
Sergey Biryukov c77e771c84 Date/Time: Replace all instances of date() with gmdate().
Use of `date()` in core depends on PHP timezone set to UTC and not changed by third party code (which cannot be guaranteed).

`gmdate()` is functionally equivalent, but is not affected by PHP timezone setting: it's always UTC, which is the exact behavior the core needs.

Props nielsdeblaauw, Rarst.
Fixes #46438. See #44491.
Built from https://develop.svn.wordpress.org/trunk@45424


git-svn-id: http://core.svn.wordpress.org/trunk@45235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-05-26 00:12:54 +00:00
..
class-wp-rest-attachments-controller.php
class-wp-rest-autosaves-controller.php Docs: Add a @see reference to WP_REST_Revisions_Controller in WP_REST_Autosaves_Controller DocBlock. 2019-05-14 23:53:57 +00:00
class-wp-rest-block-renderer-controller.php
class-wp-rest-blocks-controller.php
class-wp-rest-comments-controller.php REST API: Always urlencode_deep() query args in get_items methods. 2019-04-25 00:08:52 +00:00
class-wp-rest-controller.php
class-wp-rest-post-statuses-controller.php
class-wp-rest-post-types-controller.php
class-wp-rest-posts-controller.php Date/Time: Replace all instances of date() with gmdate(). 2019-05-26 00:12:54 +00:00
class-wp-rest-revisions-controller.php REST API: Always urlencode_deep() query args in get_items methods. 2019-04-25 00:08:52 +00:00
class-wp-rest-search-controller.php REST API: Always urlencode_deep() query args in get_items methods. 2019-04-25 00:08:52 +00:00
class-wp-rest-settings-controller.php
class-wp-rest-taxonomies-controller.php
class-wp-rest-terms-controller.php REST API: Always urlencode_deep() query args in get_items methods. 2019-04-25 00:08:52 +00:00
class-wp-rest-themes-controller.php
class-wp-rest-users-controller.php Date/Time: Replace all instances of date() with gmdate(). 2019-05-26 00:12:54 +00:00