[wp-trac] [WordPress Trac] #34037: Setting blog upload limit to 0 doesn't work
WordPress Trac
noreply at wordpress.org
Sat Sep 26 20:58:24 UTC 2015
#34037: Setting blog upload limit to 0 doesn't work
--------------------------+----------------------------------------
Reporter: boonebgorges | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.4
Component: Media | Version:
Severity: normal | Resolution:
Keywords: | Focuses: administration, multisite
--------------------------+----------------------------------------
Comment (by jorbin):
In [changeset:"34606"]:
{{{
#!CommitTicketReference repository="" revision="34606"
Revert change from true to false in multisite upload test
This change was introduced in [34601]. 0 is a special snowflake. The code
treats it as if it should fall back to the default, rather than respecting
0 as 0. Essentially, 0 means 100. WAT? This has been discussed previusly
in https://core.trac.wordpress.org/ticket/19538#comment:10. This test
should return True right now, but the behavior should be discussed and in
the future 0 may mean 0.
See #34037
Props jorbin, boonebgorges
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34037#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list