Make the return of is_upload_space_available() more obvious. props georgestephanis. see #22585.

git-svn-id: https://develop.svn.wordpress.org/trunk@22861 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2012-11-27 03:42:02 +00:00
parent 91f6658471
commit f7b3d1a854
1 changed files with 1 additions and 4 deletions

View File

@ -1997,10 +1997,7 @@ function is_upload_space_available() {
if ( get_site_option( 'upload_space_check_disabled' ) )
return true;
if ( !( $space_allowed = get_upload_space_available() ) )
return false;
return true;
return (bool) get_upload_space_available();
}
/**