[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 16:11:51 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 fixed- | Focuses: multisite,
major | rest-api
-------------------------------------------------+-------------------------
Changes (by SergeyBiryukov):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"43489" 43489]:
{{{
#!CommitTicketReference repository="" revision="43489"
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.
Merges [43462] to the 4.9 branch.
Fixes #43751.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43751#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list