From ff40552e4b83a80eb16e4e1d9db0fdf578547b6d Mon Sep 17 00:00:00 2001 From: Ryan Boren 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: https://develop.svn.wordpress.org/trunk@19586 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 6fa651817e..1bd267fa52 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.'));