WordPress.org

Make WordPress Core

Changeset 22861


Ignore:
Timestamp:
11/27/12 03:42:02 (17 months ago)
Author:
nacin
Message:

Make the return of is_upload_space_available() more obvious. props georgestephanis. see #22585.

File:
1 edited

Legend:

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

    r22840 r22861  
    19981998        return true; 
    19991999 
    2000     if ( !( $space_allowed = get_upload_space_available() ) ) 
    2001         return false; 
    2002  
    2003     return true; 
     2000    return (bool) get_upload_space_available(); 
    20042001} 
    20052002 
Note: See TracChangeset for help on using the changeset viewer.