[wp-meta] [Making WordPress.org] #5843: Maximum allowed file size

Making WordPress.org noreply at wordpress.org
Wed Jul 28 05:30:30 UTC 2021


#5843: Maximum allowed file size
-----------------------------+---------------------
 Reporter:  kafleg           |       Owner:  (none)
     Type:  defect           |      Status:  new
 Priority:  normal           |   Milestone:
Component:  Theme Directory  |  Resolution:
 Keywords:  needs-patch      |
-----------------------------+---------------------

Comment (by dd32):

 What's the ideal outcome here?

 1. Change the message to the proper upload limit?
 2. Limit uploads to 10M?

 Currently the WordPress site accepts a maximum of 10MB uploads, but
 nginx/php accepts up to 50MB I think. Since this isn't being stored in the
 media library, the WP limit of 10MB isn't actually relevant to themes, and
 is why this is bypassed.

 I'm tempted to suggest that maybe a combination should be used:
  - Add theme check warnings/limits on the maximum filesizes. Images
 shouldn't be larger than 1MB, screenshots not bigger than 500KB or
 something.
  - Have the limit enforced (Be it 10MB or other) on upload.

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/5843#comment:1>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list