General: revert [38467], wp_is_IE() should not exist.

See #37699.


git-svn-id: https://develop.svn.wordpress.org/trunk@38468 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor
2016-08-31 15:21:04 +00:00
parent f9278a9364
commit 683d828d42
9 changed files with 32 additions and 27 deletions
+4 -2
View File
@@ -133,12 +133,14 @@ function wp_underscore_video_template() {
* Prints the templates used in the media manager.
*
* @since 3.5.0
*
* @global bool $is_IE
*/
function wp_print_media_templates() {
global $is_IE;
$class = 'media-modal wp-core-ui';
if ( wp_is_IE() && strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE 7') !== false ) {
if ( $is_IE && strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE 7') !== false )
$class .= ' ie7';
}
?>
<!--[if lte IE 8]>
<style>