From 98864bbb7ef3769c6145b2515fed52a45cb83875 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Fri, 17 Aug 2012 14:19:03 +0000 Subject: [PATCH] Send Content-Type with charset for iframe_header(). Props SergeyBiryukov, sergey.s.betke@novgaro.ru. fixes #19454 git-svn-id: https://develop.svn.wordpress.org/trunk@21538 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/template.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index 4bfb108adf..8983bb99e5 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -1395,6 +1395,7 @@ function iframe_header( $title = '', $limit_styles = false ) { $current_screen = get_current_screen(); + @header( 'Content-Type: ' . get_option( 'html_type' ) . '; charset=' . get_option( 'blog_charset' ) ); _wp_admin_html_begin(); ?> <?php bloginfo('name') ?> › <?php echo $title ?> — <?php _e('WordPress'); ?>