Created
November 8, 2013 16:13
-
-
Save mwender/7373424 to your computer and use it in GitHub Desktop.
Force IE to render a site in the latest version of its rendering engine. Useful to add to functions.php for WordPress themes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ( isset( $_SERVER['HTTP_USER_AGENT'] ) && ( strpos( $_SERVER['HTTP_USER_AGENT'], 'MSIE' ) !== false ) ) | |
header('X-UA-Compatible: IE=edge,chrome=1'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment