[wp-trac] [WordPress Trac] #24558: wp_max_upload_size does not correctly interpret post_max_size = 0
WordPress Trac
noreply at wordpress.org
Fri Feb 21 18:55:56 UTC 2014
#24558: wp_max_upload_size does not correctly interpret post_max_size = 0
--------------------------+------------------------------
Reporter: maaarghk | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 3.5
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
--------------------------+------------------------------
Changes (by adamsilverstein):
* keywords: => needs-patch
Comment:
Thanks for the bug report maaarghk! I verified this issue, and also
noticed that setting upload_max_filesize to 0 has the same result so it
would be worth checking that value as well. If both are zero the proposed
patch will fail.
Since the underlying PHP upload limit will be unlimited as intended by
setting wp_max_upload_size to 0, the real issue is the number WordPress
displays in the media uploader: ```Maximum upload file size: 0KB.``` (and
how it treats that limit). This function is used in just a few places in
core, looking at those would be a good start towards resolving the issue.
Maaarghk - this would be a great opportunity to try your hand at
[http://codex.wordpress.org/Contributing_to_WordPress#Fixing_Bugs_and_Other_Programming
contributing a patch] to fix the issue.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/24558#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list