Ticket #12853: 12853.patch
File 12853.patch, 957 bytes (added by , 15 years ago) |
---|
-
wp-admin/async-upload.php
7 7 */ 8 8 9 9 define('WP_ADMIN', true); 10 define( 'ASYNC_UPLOAD' , true); 10 11 11 12 if ( defined('ABSPATH') ) 12 13 require_once(ABSPATH . 'wp-load.php'); -
wp-admin/includes/ms.php
36 36 if ( upload_is_user_over_quota( false ) ) { 37 37 $file['error'] = __( 'You have used your space quota. Please delete files before uploading.' ); 38 38 } 39 if ( $file['error'] != '0' )39 if ( $file['error'] != '0' && ( ! defined( 'ASYNC_UPLOAD' ) || ( defined( 'ASYNC_UPLOAD' ) && ! ASYNC_UPLOAD ) ) ) 40 40 wp_die( $file['error'] . ' <a href="javascript:history.go(-1)">' . __( 'Back' ) . '</a>' );