[wp-trac] [WordPress Trac] #45420: requiring wp-admin/includes/image.php twice in WP_REST_Attachments_Controller::create_item
WordPress Trac
noreply at wordpress.org
Tue Dec 18 23:07:38 UTC 2018
#45420: requiring wp-admin/includes/image.php twice in
WP_REST_Attachments_Controller::create_item
---------------------------------+---------------------
Reporter: david.binda | Owner: pento
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.0.2
Component: REST API | Version: 5.0
Severity: minor | Resolution: fixed
Keywords: has-patch fixed-5.0 | Focuses:
---------------------------------+---------------------
Changes (by SergeyBiryukov):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"44309" 44309]:
{{{
#!CommitTicketReference repository="" revision="44309"
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.
Merges [44206] to trunk.
Fixes #45420.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45420#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list