WordPress/wp-includes/rest-api/endpoints
Sergey Biryukov 1d5d5b3e87 REST API: Restore wp-admin/includes/image.php requirement in WP_REST_Attachments_Controller::create_item().
Although the file is already included via the `::insert_attachment()` method, this addresses an inconsistency and corrects a misleading comment.

It also reduces the possibility of a future error in case `::insert_attachment()` is no longer called earlier in `::create_item()` at some point.

Follow-up to [43850] and [44206].

Props luisrivera.
Fixes #49449.
Built from https://develop.svn.wordpress.org/trunk@47296


git-svn-id: http://core.svn.wordpress.org/trunk@47096 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-17 03:24:07 +00:00
..
class-wp-rest-attachments-controller.php REST API: Restore wp-admin/includes/image.php requirement in WP_REST_Attachments_Controller::create_item(). 2020-02-17 03:24:07 +00:00
class-wp-rest-autosaves-controller.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-rest-block-renderer-controller.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-rest-blocks-controller.php Docs: Increase the specificity of various docblock parameter types and return types. 2019-12-06 22:43:04 +00:00
class-wp-rest-comments-controller.php Administration: Capitalize Trash consistently in various messages and comments. 2020-02-10 04:12:07 +00:00
class-wp-rest-controller.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-rest-post-statuses-controller.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-rest-post-types-controller.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-rest-posts-controller.php REST API: Introduce rest_{$this->post_type}_item_schema filter to enable manipulation of schema values. 2020-02-11 16:28:06 +00:00
class-wp-rest-revisions-controller.php Administration: Capitalize Trash consistently in various messages and comments. 2020-02-10 04:12:07 +00:00
class-wp-rest-search-controller.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-rest-settings-controller.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-rest-taxonomies-controller.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-rest-terms-controller.php REST API: Merge "not allowed to create new terms" permission error message with an existing string. 2020-02-02 05:41:03 +00:00
class-wp-rest-themes-controller.php REST API: List all core theme feature support details in /themes endpoint response. 2020-02-11 02:00:07 +00:00
class-wp-rest-users-controller.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00