From 859516cd1900fe1c53d4a81b5a69da6f9d64dc0c Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Wed, 6 Nov 2013 23:48:02 +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. git-svn-id: https://develop.svn.wordpress.org/trunk@26029 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/template.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/wp-admin/includes/template.php b/src/wp-admin/includes/template.php index ad42074dcc..ef2f2a7b26 100644 --- a/src/wp-admin/includes/template.php +++ b/src/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() { > + + +