Skip to content

Commit e99047f

Browse files
committed
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
1 parent 0c24a91 commit e99047f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/wp-includes/ms-functions.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1907,9 +1907,9 @@ function get_space_allowed() {
19071907
$space_allowed = get_site_option( 'blog_upload_space' );
19081908

19091909
if ( empty( $space_allowed ) || ! is_numeric( $space_allowed ) )
1910-
$space_allowed = 50;
1910+
$space_allowed = 100;
19111911

1912-
return $space_allowed;
1912+
return apply_filters( 'get_space_allowed', $space_allowed );
19131913
}
19141914

19151915
/**

0 commit comments

Comments
 (0)