mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user