[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
Wed Jul 18 08:52:07 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
-------------------------------------------------+-------------------------

Comment (by pedromendonca):

 @pento shouldn't the variable in the string `This file is too big. Files
 must be less than %s KB in size.` be changed to `%d` to merge with already
 the existent `This file is too big. Files must be less than %d KB in
 size.` string in core?

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


More information about the wp-trac mailing list