#18119 closed defect (bug) (fixed)
get_space_allowed ignores option set to 0
Reported by: | jakub.tyrcha | Owned by: | markjaquith |
---|---|---|---|
Milestone: | 3.3 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Multisite | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
if 'blog_upload_space' is set to 0, get_space_allowed() uses get_site_option instead of accepting a "0" value.
See unit tests:
http://gsoc.svn.wordpress.org/2011/jakub.tyrcha/test_wpms.php
Attachments (1)
Change History (6)
Note: See
TracTickets for help on using
tickets.
Nice catch.