WordPress.org

Make WordPress Core

Changeset 14716


Ignore:
Timestamp:
05/18/10 01:25:13 (4 years ago)
Author:
wpmuguru
Message:

only die on async upload error, see #12853

File:
1 edited

Legend:

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

    r14694 r14716  
    3737        $file['error'] = __( 'You have used your space quota. Please delete files before uploading.' ); 
    3838    } 
    39     if ( $file['error'] != '0' ) 
     39    if ( $file['error'] != '0' && isset($_POST['html-upload']) ) 
    4040        wp_die( $file['error'] . ' <a href="javascript:history.go(-1)">' . __( 'Back' ) . '</a>' ); 
    4141 
Note: See TracChangeset for help on using the changeset viewer.