WordPress/wp-includes/rest-api
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
..
endpoints REST API: Remove a duplicate require_once(). 2018-12-15 11:17:31 +00:00
fields REST API: Slash existing meta values when comparing with incoming meta upates. 2018-10-17 20:10:25 +00:00
search REST API: Introduce controller for searching across post types. 2018-10-17 17:03:26 +00:00
class-wp-rest-request.php Docs: Replace HTTP links to stackoverflow.com in DocBlocks with HTTPS. 2017-07-30 14:52:44 +00:00
class-wp-rest-response.php Docs: Remove @access notations from method DocBlocks in wp-includes/* classes. 2017-07-27 00:41:44 +00:00
class-wp-rest-server.php REST API: Return the proper status code for failed permission callbacks in WP_REST_Server->dispatch(). 2017-12-30 20:49:40 +00:00