[wp-trac] [WordPress Trac] #43751: REST API: Attachments controller should respect "Max upload file size" and "Site upload space" in multisite
WordPress Trac
noreply at wordpress.org
Tue Jul 17 07:21:53 UTC 2018
#43751: REST API: Attachments controller should respect "Max upload file size" and
"Site upload space" in multisite
--------------------------------------+----------------------------------
Reporter: danielbachhuber | Owner: pento
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.9.8
Component: Media | Version: 4.7
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses: multisite, rest-api
--------------------------------------+----------------------------------
Changes (by pento):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"43462" 43462]:
{{{
#!CommitTicketReference repository="" revision="43462"
REST API: Attachments controller should respect upload limits.
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.
Fixes #43751.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43751#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list