WordPress.org

Make WordPress Core


Ignore:
Timestamp:
08/31/2016 03:21:04 PM (4 years ago)
Author:
wonderboymusic
Message:

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

See #37699.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/media-template.php

    r38467 r38468  
    134134 *
    135135 * @since 3.5.0
     136 *
     137 * @global bool $is_IE
    136138 */
    137139function wp_print_media_templates() {
     140    global $is_IE;
    138141    $class = 'media-modal wp-core-ui';
    139     if ( wp_is_IE() && strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE 7') !== false ) {
     142    if ( $is_IE && strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE 7') !== false )
    140143        $class .= ' ie7';
    141     }
    142144    ?>
    143145    <!--[if lte IE 8]>
Note: See TracChangeset for help on using the changeset viewer.