WordPress/wp-includes/rest-api/endpoints
Gary Pendergast 71044010f8 REST API: Remove a duplicate `require_once()`.
In `WP_REST_Attachments_Controller::create_item()`, `wp-admin/includes/image.php` was being `require_once()`-ed... twice. The superflous `require_once()` has been quietly removed.

Props david.binda.
See #45420.


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44036 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-15 11:17:31 +00:00
..
class-wp-rest-attachments-controller.php REST API: Remove a duplicate `require_once()`. 2018-12-15 11:17:31 +00:00
class-wp-rest-autosaves-controller.php REST API: Avoid using 'parent' as path argument name for autosaves. 2018-11-15 12:57:51 +00:00
class-wp-rest-block-renderer-controller.php REST API: Preserve unknown, respect `null` in server-side block rendering. 2018-11-21 14:44:48 +00:00
class-wp-rest-blocks-controller.php REST API: Always include `title.raw`/`content.raw` for Blocks in `context=view`. 2018-11-21 14:35:48 +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: Include fields with null schema in `get_fields_for_response()`. 2018-11-19 14:10:50 +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: Prevent duplicate firing of `rest(_after)?_insert_attachment` actions. 2018-11-03 14:14:49 +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 Themes: Remove a stray slash and `gutenberg` text domain. 2018-10-23 06:08:19 +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