WordPress.org

Make WordPress Core


Ignore:
Timestamp:
08/31/2016 06:41:07 AM (4 years ago)
Author:
wonderboymusic
Message:

General: use a new function, wp_is_IE(), instead of the $is_IE global in a number of places.

See #37699.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-press-this.php

    r38462 r38467  
    11881188     *
    11891189     * @global WP_Locale $wp_locale
    1190      * @global bool      $is_IE
    11911190     */
    11921191    public function html() {
     
    12281227        add_filter( 'mce_css', array( $this, 'add_editor_style' ) );
    12291228
    1230         if ( ! empty( $GLOBALS['is_IE'] ) ) {
     1229        if ( wp_is_IE() ) {
    12311230            @header( 'X-UA-Compatible: IE=edge' );
    12321231        }
Note: See TracChangeset for help on using the changeset viewer.