WordPress.org

Make WordPress Core

Changeset 16299


Ignore:
Timestamp:
11/11/10 16:03:51 (3 years ago)
Author:
ryan
Message:

Return false if upload_space_check_disabled is true in upload_is_user_over_quota(). Props SergeyBiryukov. fixes #14121

File:
1 edited

Legend:

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

    r16284 r16299  
    11911191function upload_is_user_over_quota( $echo = true ) { 
    11921192    if ( get_site_option( 'upload_space_check_disabled' ) ) 
    1193         return true; 
     1193        return false; 
    11941194 
    11951195    $spaceAllowed = get_space_allowed(); 
Note: See TracChangeset for help on using the changeset viewer.