[wp-trac] [WordPress Trac] #44864: 4.9.8 breaks REST API attachment uploads on Multisite

WordPress Trac noreply at wordpress.org
Fri Aug 31 23:25:41 UTC 2018


#44864: 4.9.8 breaks REST API attachment uploads on Multisite
--------------------------+--------------------------
 Reporter:  JakePT        |       Owner:  rachelbaker
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.9.9
Component:  REST API      |     Version:  4.9.8
 Severity:  critical      |  Resolution:  fixed
 Keywords:  needs-patch   |     Focuses:  rest-api
--------------------------+--------------------------
Changes (by rachelbaker):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"43603" 43603]:
 {{{
 #!CommitTicketReference repository="" revision="43603"
 REST API: Load missing required file for multisite users in
 `WP_REST_Attachments_Controller::check_upload_size()`.

 Requires wp-admin/includes/ms.php to make `upload_is_user_over_quota()`
 function available to multisite users uploading files.

 Props JakePT, rachelbaker.
 Fixes #44864.
 }}}

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


More information about the wp-trac mailing list