WordPress.org

Make WordPress Core


Ignore:
File:
1 edited

Legend:

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

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