From 0358498b0ac6f2790ffe4a3cd163cdc30a4db62a Mon Sep 17 00:00:00 2001 From: ryan Date: Sun, 11 Dec 2011 00:03:24 +0000 Subject: [PATCH] Use text/html to appease IE < 9. Props azaozz. fixes #19494 git-svn-id: http://svn.automattic.com/wordpress/trunk@19586 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/async-upload.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/async-upload.php b/wp-admin/async-upload.php index 6fa651817..1bd267fa5 100644 --- a/wp-admin/async-upload.php +++ b/wp-admin/async-upload.php @@ -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.'));