Ticket #19538: 19538.2.diff
File 19538.2.diff, 666 bytes (added by , 13 years ago) |
---|
-
wp-admin/includes/ms.php
385 385 */ 386 386 function get_space_allowed() { 387 387 $space_allowed = get_option( 'blog_upload_space' ); 388 if ( $space_allowed === false ) 388 389 if ( $space_allowed === false || $space_allowed === '' ) 389 390 $space_allowed = get_site_option( 'blog_upload_space' ); 390 if ( empty( $space_allowed )|| !is_numeric( $space_allowed ) )391 if ( $space_allowed === false || $space_allowed === '' || !is_numeric( $space_allowed ) ) 391 392 $space_allowed = 50; 392 393 393 394 return $space_allowed;