From 88138fbf3ab8c72e93b9487ff8403c41a3fad174 Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Mon, 11 Nov 2013 18:01:40 +0000 Subject: [PATCH] Fix the X-UA-Compatible header for IE8, fixes #25575 git-svn-id: https://develop.svn.wordpress.org/trunk@26089 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/template.php | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/src/wp-admin/includes/template.php b/src/wp-admin/includes/template.php index ef2f2a7b26..5d43a255ed 100644 --- a/src/wp-admin/includes/template.php +++ b/src/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'); + ?> - - -