WordPress/wp-includes/rest-api/endpoints
danielbachhuber 0a3bb63b8f REST API: Limit the scope of wp-admin files required in WP_REST_Attachments_Controller methods.
Narrow the scope of the included wp-admin files loaded for `wp_generate_attachment_metadata()`, `wp_handle_upload()`, `wp_tempnam()`, and `wp_handle_sideload()`. Requires only `wp-admin/includes/file.php` and `wp-admin/includes/image.php` instead of `wp-admin/includes/admin.php`.

Props ocean90, lonelyvegan, soulseekah, pratikthink.
Merges [43589], [43604] to the 5.0 branch.
Fixes #43757.

Built from https://develop.svn.wordpress.org/branches/5.0@43773


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43602 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-10-19 18:53:41 +00:00
..
class-wp-rest-attachments-controller.php REST API: Limit the scope of wp-admin files required in WP_REST_Attachments_Controller methods. 2018-10-19 18:53:41 +00:00
class-wp-rest-autosaves-controller.php REST API: Introduce Autosaves controller and endpoint. 2018-10-19 13:49:41 +00:00
class-wp-rest-comments-controller.php REST API: Fire actions after items are completely updated/inserted. 2018-10-17 11:20:26 +00:00
class-wp-rest-controller.php REST API: Don't add fields to object when not included in `?_fields=`. 2018-10-17 02:41:27 +00:00
class-wp-rest-post-statuses-controller.php REST API: Fix permissions error message in post statuses controller. 2018-10-18 20:26:25 +00:00
class-wp-rest-post-types-controller.php REST API: Filter responses based on the `_fields` parameter, before data is processed. 2018-07-13 06:51:27 +00:00
class-wp-rest-posts-controller.php REST API: Include `block_version` on Post `content` object. 2018-10-19 17:58:39 +00:00
class-wp-rest-revisions-controller.php REST API: Support pagination, order, search and other common query parameters for revisions. 2018-10-11 07:16:46 +00:00
class-wp-rest-search-controller.php REST API: Fix version number in `_doing_it_wrong()` call. 2018-10-17 22:20:25 +00:00
class-wp-rest-settings-controller.php REST API: Don’t remove unregistered properties from objects in schema. 2017-10-24 21:05:49 +00:00
class-wp-rest-taxonomies-controller.php REST API: Define taxonomy visibility settings in schema 2018-10-08 13:50:27 +00:00
class-wp-rest-terms-controller.php REST API: Correct HTTP status code in error for requests to create a duplicate term. 2018-10-18 20:32:27 +00:00
class-wp-rest-themes-controller.php REST API: Add new class file and tests missed in [43734]. 2018-10-16 22:50:26 +00:00
class-wp-rest-users-controller.php REST API: Fire actions after items are completely updated/inserted. 2018-10-17 11:20:26 +00:00