From 541d22e18d5665950ed698bc755456219327cfe0 Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Mon, 11 Nov 2013 18:02:10 +0000 Subject: [PATCH] Fix the X-UA-Compatible header for IE8, fixes #25575 Built from https://develop.svn.wordpress.org/trunk@26089 git-svn-id: http://core.svn.wordpress.org/trunk@26007 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/template.php | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index ef2f2a7b26..5d43a255ed 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -1688,6 +1688,10 @@ function _wp_admin_html_begin() { global $is_IE; $admin_html_class = ( is_admin_bar_showing() ) ? 'wp-toolbar' : ''; + + if ( $is_IE ) + @header('X-UA-Compatible: IE=edge'); + ?> - - -