From 8fd2ce80b6ca8edd7bd2ab86cfe4528310a56b31 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Tue, 3 Jan 2012 17:24:51 +0000 Subject: [PATCH] Revert half of [19639]. If the blog_upload_space site_option is '0', restore 50 as a default. see #19538. git-svn-id: https://develop.svn.wordpress.org/trunk@19652 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 d00c847d68..b9d691a378 100644 --- a/wp-admin/includes/ms.php +++ b/wp-admin/includes/ms.php @@ -389,7 +389,7 @@ function get_space_allowed() { if ( ! is_numeric( $space_allowed ) ) $space_allowed = get_site_option( 'blog_upload_space' ); - if ( ! is_numeric( $space_allowed ) ) + if ( empty( $space_allowed ) || ! is_numeric( $space_allowed ) ) $space_allowed = 50; return $space_allowed;