mirror of
git://develop.git.wordpress.org/
synced 2025-02-27 10:02:43 +01:00
Revert half of [19639]. If the blog_upload_space site_option is '0', restore 50 as a default. see #19538.
git-svn-id: https://develop.svn.wordpress.org/trunk@19652 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1c75e9a27b
commit
8fd2ce80b6
@ -389,7 +389,7 @@ function get_space_allowed() {
|
||||
if ( ! is_numeric( $space_allowed ) )
|
||||
$space_allowed = get_site_option( 'blog_upload_space' );
|
||||
|
||||
if ( ! is_numeric( $space_allowed ) )
|
||||
if ( empty( $space_allowed ) || ! is_numeric( $space_allowed ) )
|
||||
$space_allowed = 50;
|
||||
|
||||
return $space_allowed;
|
||||
|
Loading…
x
Reference in New Issue
Block a user