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-admin/includes/template.php

    r38467 r38468  
    19461946}
    19471947
     1948/**
     1949 *
     1950 * @global bool $is_IE
     1951 */
    19481952function _wp_admin_html_begin() {
     1953    global $is_IE;
     1954
    19491955    $admin_html_class = ( is_admin_bar_showing() ) ? 'wp-toolbar' : '';
    19501956
    1951     if ( wp_is_IE() ) {
     1957    if ( $is_IE )
    19521958        @header('X-UA-Compatible: IE=edge');
    1953     }
    19541959
    19551960?>
Note: See TracChangeset for help on using the changeset viewer.