]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/async-upload.php
WordPress 3.4.2-scripts
[autoinstalls/wordpress.git] / wp-admin / async-upload.php
index 6fa651817ecfad622beec5ffad93462a703d6d79..e9d59e2258168c68e1e08719d7f8748c884960d9 100644 (file)
@@ -23,7 +23,7 @@ if ( empty($_COOKIE[LOGGED_IN_COOKIE]) && !empty($_REQUEST['logged_in_cookie'])
 unset($current_user);
 require_once('./admin.php');
 
-header('Content-Type: text/plain; charset=' . get_option('blog_charset'));
+header('Content-Type: text/html; charset=' . get_option('blog_charset'));
 
 if ( !current_user_can('upload_files') )
        wp_die(__('You do not have permission to upload files.'));
@@ -66,5 +66,3 @@ if ( $_REQUEST['short'] ) {
        $type = $_REQUEST['type'];
        echo apply_filters("async_upload_{$type}", $id);
 }
-
-?>