mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
Send Content-Type with charset for iframe_header(). Props SergeyBiryukov, sergey.s.betke@novgaro.ru. fixes #19454
git-svn-id: http://core.svn.wordpress.org/trunk@21538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
7109699941
commit
65f5267604
@ -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') ?> › <?php echo $title ?> — <?php _e('WordPress'); ?></title>
|
||||
|
Loading…
Reference in New Issue
Block a user