[wp-meta] [Making WordPress.org] #5843: Maximum allowed file size
Making WordPress.org
noreply at wordpress.org
Wed Jul 28 05:57:29 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):
Replying to [comment:2 kafleg]:
> I think a theme check warning can give the solution for this case. But I
don't think we can limit the image size to 1MB or screenshot to 500 KB or
so. We can simply give the INFO in the theme check plugin to reduce the
size below 10 MB.
For reference, for plugins the limits are set to: Screenshots: 10MB,
Banners: 4MB, Icons: 1MB (These are twice what I personally considered
reasonable, so it's just a sane maximum upper limit)
> For now, there is a message saying 10 MB upload limit but they can
upload sizes bigger than that. It seems quite inlogical.
Agreed, but there's a reason why I was asking which outcome you expected
:) I'm ''okay'' with it saying 10MB and it allowing a larger upload, it's
just acting as a suggestion in this case.. that most will either respect
or ignore.
So the three outcome options are:
1. Adjust to read 50MB
2. Enforce a hard 10MB upload limit
3. Leave it as-is (saying 10MB), allow uploading a 20MB file, and have
Theme Check throw errors/warnings/notices about large file sizes, or
enforcing the total size itself even - since uncompressed filesize might
be more relevant than ZIP size.
My personal opinion is that we should just remove the limit text and
implement some theme-check warnings, which would work better in a future
where there's some other way than ZIP uploads for themes anyway
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/5843#comment:3>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list