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:
parent
9b0e21493d
commit
527f73fbb7
|
@ -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 );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue