WordPress.org

Make WordPress Core

Ticket #23650: 23650.diff

File 23650.diff, 547 bytes (added by jkudish, 2 years ago)
  • wp-includes/ms-functions.php

     
    19301930                $space_allowed = get_site_option( 'blog_upload_space' ); 
    19311931 
    19321932        if ( empty( $space_allowed ) || ! is_numeric( $space_allowed ) ) 
    1933                 $space_allowed = 50; 
     1933                $space_allowed = apply_filters( 'get_space_allowed_default', 50 ); 
    19341934 
    1935         return $space_allowed; 
     1935        return apply_filters( 'get_space_allowed', $space_allowed ); 
    19361936} 
    19371937 
    19381938/**