WordPress.org

Make WordPress Core

Changeset 19654


Ignore:
Timestamp:
01/03/2012 05:54:50 PM (8 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 for 3.3.

File:
1 edited

Legend:

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

    r19645 r19654  
    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.