diff --git a/wp-includes/ms-functions.php b/wp-includes/ms-functions.php index 7a8ecfb251..69c293c7e7 100644 --- a/wp-includes/ms-functions.php +++ b/wp-includes/ms-functions.php @@ -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(); } /**