Ticket #28774: async-upload-attachment.diff
File async-upload-attachment.diff, 492 bytes (added by , 10 years ago) |
---|
-
wp-admin/async-upload.php
43 43 send_nosniff_header(); 44 44 nocache_headers(); 45 45 46 wp_ajax_upload_attachment(); 46 /** This action is documented in wp-admin/admin-ajax.php */ 47 add_action( 'wp_ajax_upload-attachment', 'wp_ajax_upload_attachment', 1 ); 48 do_action( 'wp_ajax_upload-attachment' ); 47 49 die( '0' ); 48 50 } 49 51