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
This commit is contained in:
Andrew Nacin 2013-08-22 20:54:09 +00:00
parent 0c24a916d4
commit e99047ff95
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' );
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 );
}
/**