Make WordPress Core


Ignore:
Timestamp:
07/09/2012 03:49:23 AM (12 years ago)
Author:
markjaquith
Message:

Do not block XML-RPC uploads when upload_space_check_disabled is true, regardless of fileupload_maxk value. props SergeyBiryukov. fixes #16217

File:
1 edited

Legend:

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

    r21172 r21237  
    16541654 */
    16551655function upload_is_file_too_big( $upload ) {
    1656     if ( is_array( $upload ) == false || defined( 'WP_IMPORTING' ) )
     1656    if ( is_array( $upload ) == false || defined( 'WP_IMPORTING' ) || get_site_option( 'upload_space_check_disabled' ) )
    16571657        return $upload;
    16581658
Note: See TracChangeset for help on using the changeset viewer.