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
This commit is contained in:
parent
80cc4de72f
commit
98864bbb7e
@ -1395,6 +1395,7 @@ function iframe_header( $title = '', $limit_styles = false ) {
|
|||||||
|
|
||||||
$current_screen = get_current_screen();
|
$current_screen = get_current_screen();
|
||||||
|
|
||||||
|
@header( 'Content-Type: ' . get_option( 'html_type' ) . '; charset=' . get_option( 'blog_charset' ) );
|
||||||
_wp_admin_html_begin();
|
_wp_admin_html_begin();
|
||||||
?>
|
?>
|
||||||
<title><?php bloginfo('name') ?> › <?php echo $title ?> — <?php _e('WordPress'); ?></title>
|
<title><?php bloginfo('name') ?> › <?php echo $title ?> — <?php _e('WordPress'); ?></title>
|
||||||
|
Loading…
Reference in New Issue
Block a user