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 REST API: Remove unused attachments controller method. 2019-03-19 03:28:51 +00:00
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 REST API: Preserve unknown, respect `null` in server-side block rendering. 2018-12-17 18:00:52 +00:00
class-wp-rest-blocks-controller.php REST API: Always include `title.raw`/`content.raw` for Blocks in `context=view`. 2018-12-17 17:22:52 +00:00
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 General: Fix problematic string to array parsing. 2019-01-10 21:06:49 +00:00
class-wp-rest-post-statuses-controller.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-wp-rest-post-types-controller.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
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 Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-wp-rest-taxonomies-controller.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
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 Themes: Introduce responsive embeds support. 2018-12-14 01:50:37 +00:00
class-wp-rest-users-controller.php Date/Time: Replace all instances of `date()` with `gmdate()`. 2019-05-26 00:12:54 +00:00