From e99047ff951369c77f125d120035c0cd8aace11a Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Thu, 22 Aug 2013 20:54:09 +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. git-svn-id: https://develop.svn.wordpress.org/trunk@25092 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/ms-functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/ms-functions.php b/src/wp-includes/ms-functions.php index a1e8dd3c29..dafdea5a83 100644 --- a/src/wp-includes/ms-functions.php +++ b/src/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 ); } /**