mirror of
git://develop.git.wordpress.org/
synced 2025-03-17 18:39:51 +01:00
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. Props flixos90, danielbachhuber. Merges [43462] to the 4.9 branch. Fixes #43751. git-svn-id: https://develop.svn.wordpress.org/branches/4.9@43489 602fd350-edb4-49c9-b593-d223f7449a82