Make WordPress Core

Changeset 19652


Ignore:
Timestamp:
01/03/2012 05:24:51 PM (12 years ago)
Author:
nacin
Message:

Revert half of [19639]. If the blog_upload_space site_option is '0', restore 50 as a default. see #19538.

File:
1 edited

Legend:

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

    r19639 r19652  
    390390        $space_allowed = get_site_option( 'blog_upload_space' );
    391391
    392     if ( ! is_numeric( $space_allowed ) )
     392    if ( empty( $space_allowed ) || ! is_numeric( $space_allowed ) )
    393393        $space_allowed = 50;
    394394
Note: See TracChangeset for help on using the changeset viewer.