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
This commit is contained in:
Andrew Nacin 2013-08-22 20:55:08 +00:00
parent 9b0e21493d
commit 527f73fbb7
1 changed files with 2 additions and 2 deletions

View File

@ -1907,9 +1907,9 @@ function get_space_allowed() {
$space_allowed = get_site_option( 'blog_upload_space' ); $space_allowed = get_site_option( 'blog_upload_space' );
if ( empty( $space_allowed ) || ! is_numeric( $space_allowed ) ) 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 );
} }
/** /**