From 2e2c07f0949faacc82c49e4752768e322c9d2596 Mon Sep 17 00:00:00 2001 From: markjaquith Date: Wed, 16 Nov 2011 22:02:01 +0000 Subject: [PATCH] Only fall back to get_site_option() if blog_upload_space value is === false. Zero should not fall back. fixes #18119. props jakub.tyrcha git-svn-id: http://svn.automattic.com/wordpress/trunk@19314 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/ms.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/includes/ms.php b/wp-admin/includes/ms.php index 84c8b00523..1b2c7e78e5 100644 --- a/wp-admin/includes/ms.php +++ b/wp-admin/includes/ms.php @@ -385,7 +385,7 @@ function get_upload_space_available() { */ function get_space_allowed() { $space_allowed = get_option( 'blog_upload_space' ); - if ( $space_allowed == false ) + if ( $space_allowed === false ) $space_allowed = get_site_option( 'blog_upload_space' ); if ( empty( $space_allowed ) || !is_numeric( $space_allowed ) ) $space_allowed = 50;