[wp-trac] [WordPress Trac] #18119: get_space_allowed ignores option set to 0

WordPress Trac wp-trac at lists.automattic.com
Thu Jul 14 22:53:23 UTC 2011


#18119: get_space_allowed ignores option set to 0
--------------------------+-----------------------------
 Reporter:  jakub.tyrcha  |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Multisite     |    Version:
 Severity:  normal        |   Keywords:  has-patch
--------------------------+-----------------------------
 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

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18119>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list