[wp-trac] [WordPress Trac] #43751: Attachments controller should respect "Max upload file size" and "Site upload space" in multisite

WordPress Trac noreply at wordpress.org
Thu Apr 12 23:26:17 UTC 2018


#43751: Attachments controller should respect "Max upload file size" and "Site
upload space" in multisite
--------------------------------+------------------------------------------
 Reporter:  danielbachhuber     |      Owner:  (none)
     Type:  defect (bug)        |     Status:  new
 Priority:  normal              |  Milestone:  5.0
Component:  Media               |    Version:  4.7
 Severity:  normal              |   Keywords:  needs-patch needs-unit-tests
  Focuses:  multisite, rest-    |
  api                           |
--------------------------------+------------------------------------------
 When the REST API is in use on WordPress multisite, the
 `WP_REST_Attachments_Controller` should respect the "Max upload file size"
 and "Site upload space" site options.

 If an uploaded file fails either check, then an error should be returned
 and WordPress shouldn't save the file.

 Related https://github.com/WordPress/gutenberg/issues/6154

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/43751>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list