WordPress.org

Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/ms.php

    r19654 r19314  
    386386function get_space_allowed() {
    387387    $space_allowed = get_option( 'blog_upload_space' );
    388 
    389     if ( ! is_numeric( $space_allowed ) )
     388    if ( $space_allowed === false )
    390389        $space_allowed = get_site_option( 'blog_upload_space' );
    391 
    392     if ( empty( $space_allowed ) || ! is_numeric( $space_allowed ) )
     390    if ( empty( $space_allowed ) || !is_numeric( $space_allowed ) )
    393391        $space_allowed = 50;
    394392
Note: See TracChangeset for help on using the changeset viewer.