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
This commit is contained in:
ryan 2011-12-11 00:03:24 +00:00
parent 5bbba0d4df
commit 0358498b0a
1 changed files with 1 additions and 1 deletions

View 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.'));