Permalink
Browse files

Send Content-Type with charset for iframe_header(). Props SergeyBiryu…

…kov, sergey.s.betke@novgaro.ru. fixes #19454

git-svn-id: http://core.svn.wordpress.org/trunk@21538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information...
1 parent 7109699 commit 65f5267604048fda3ca59f39afcd1be00209890e Ryan Boren committed Aug 17, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 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();
?>
<title><?php bloginfo('name') ?> &rsaquo; <?php echo $title ?> &#8212; <?php _e('WordPress'); ?></title>

0 comments on commit 65f5267

Please sign in to comment.