WordPress.org

Make WordPress Core

Ticket #18119: 18119.patch

File 18119.patch, 523 bytes (added by jakub.tyrcha, 3 years ago)
  • wp-admin/includes/ms.php

     
    393393 */ 
    394394function get_space_allowed() { 
    395395        $space_allowed = get_option( 'blog_upload_space' ); 
    396         if ( $space_allowed == false ) 
     396        if ( $space_allowed === false ) 
    397397                $space_allowed = get_site_option( 'blog_upload_space' ); 
    398398        if ( empty( $space_allowed ) || !is_numeric( $space_allowed ) ) 
    399399                $space_allowed = 50;