From 527f73fbb73639e7e4cb6a0da8cf23ccb174a608 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Thu, 22 Aug 2013 20:55:08 +0000 Subject: [PATCH] Multisite: Add a filter to get_space_allowed() and increase its internal default value to the network default. props jkudish for initial patch. fixes #23650. Built from https://develop.svn.wordpress.org/trunk@25092 git-svn-id: http://core.svn.wordpress.org/trunk@25076 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/ms-functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/ms-functions.php b/wp-includes/ms-functions.php index a1e8dd3c29..dafdea5a83 100644 --- a/wp-includes/ms-functions.php +++ b/wp-includes/ms-functions.php @@ -1907,9 +1907,9 @@ function get_space_allowed() { $space_allowed = get_site_option( 'blog_upload_space' ); if ( empty( $space_allowed ) || ! is_numeric( $space_allowed ) ) - $space_allowed = 50; + $space_allowed = 100; - return $space_allowed; + return apply_filters( 'get_space_allowed', $space_allowed ); } /**