[wp-trac] [WordPress Trac] #43757: `WP_REST_Attachments_Controller` includes entire admin includes for a few utility functions

WordPress Trac noreply at wordpress.org
Fri Apr 13 17:47:38 UTC 2018


#43757: `WP_REST_Attachments_Controller` includes entire admin includes for a few
utility functions
-------------------------------------+-------------------------------
 Reporter:  lonelyvegan              |       Owner:  (none)
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  REST API                 |     Version:  trunk
 Severity:  minor                    |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  coding-standards
-------------------------------------+-------------------------------
Changes (by soulseekah):

 * keywords:  needs-patch => has-patch needs-testing


Comment:

 Hey, welcome to Trac! :)

 You appear to be very correct in this regard. Attached diff for leaner
 includes. Tests pass fine.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/43757#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list