WordPress.org

Make WordPress Core

Ticket #22585: 22585.2.diff

File 22585.2.diff, 451 bytes (added by georgestephanis, 9 years ago)
  • wp-includes/ms-functions.php

     
    19971997        if ( get_site_option( 'upload_space_check_disabled' ) )
    19981998                return true;
    19991999
    2000         if ( !( $space_allowed = get_upload_space_available() ) )
    2001                 return false;
    2002 
    2003         return true;
     2000        return (bool) get_upload_space_available();
    20042001}
    20052002
    20062003/**