From 0743625aedbeaf66d595c2b6691e7e87e5184705 Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Wed, 6 Nov 2013 23:49:09 +0000 Subject: [PATCH] Add X-UA-Compatible meta tag in the admin, locking the compatibility mode in IE to the highest supported document mode. Fixes #25575. Built from https://develop.svn.wordpress.org/trunk@26029 git-svn-id: http://core.svn.wordpress.org/trunk@25959 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/template.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index ad42074dcc..ef2f2a7b26 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -1685,6 +1685,8 @@ function get_submit_button( $text = null, $type = 'primary large', $name = 'subm } function _wp_admin_html_begin() { + global $is_IE; + $admin_html_class = ( is_admin_bar_showing() ) ? 'wp-toolbar' : ''; ?> @@ -1695,6 +1697,14 @@ function _wp_admin_html_begin() { > + + +