[wp-trac] [WordPress Trac] #34037: Setting blog upload limit to 0 doesn't work
WordPress Trac
noreply at wordpress.org
Sat Oct 10 23:05:03 UTC 2015
#34037: Setting blog upload limit to 0 doesn't work
--------------------------+----------------------------------------
Reporter: boonebgorges | Owner: jeremyfelt
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: 4.4
Component: Media | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: administration, multisite
--------------------------+----------------------------------------
Changes (by jeremyfelt):
* keywords: => has-patch
* status: assigned => reviewing
Comment:
[https://core.trac.wordpress.org/attachment/ticket/34037/34037.diff
34037.diff] modifies `get_uploads_space()` to only accept a numeric value
and drops the check for empty. It also adjusts the existing tests
accordingly.
While the matching UI isn't perfect, it does exist for other cases where
uploads have been restricted. The screenshots attached to this ticket show
the current state when attempting to add media while space allowed is 0.
We can probably improve this experience with a nicer message in another
ticket.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34037#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list