From 8d3a9ba45bab417521c67efafa4a8524d9427ec0 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Wed, 12 Sep 2012 15:48:40 +0000 Subject: [PATCH] Disable multisite quotas by default on new installs. props mpvanwinkle77. fixes #21513. git-svn-id: https://develop.svn.wordpress.org/trunk@21827 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/schema.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/includes/schema.php b/wp-admin/includes/schema.php index 0b9e6a4dcf..676fd1951d 100644 --- a/wp-admin/includes/schema.php +++ b/wp-admin/includes/schema.php @@ -909,7 +909,7 @@ We hope you enjoy your new site. Thanks! // @todo - network admins should have a method of editing the network siteurl (used for cookie hash) 'siteurl' => get_option( 'siteurl' ) . '/', 'add_new_users' => '0', - 'upload_space_check_disabled' => '0', + 'upload_space_check_disabled' => is_multisite() ? get_site_option( 'upload_space_check_disabled' ) : '1', 'subdomain_install' => intval( $subdomain_install ), 'global_terms_enabled' => global_terms_enabled() ? '1' : '0', 'ms_files_rewriting' => is_multisite() ? get_site_option( 'ms_files_rewriting' ) : '0',