WordPress.org

Make WordPress Core


Ignore:
Timestamp:
08/31/2016 06:41:07 AM (5 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/edit-form-advanced.php

    r38307 r38467  
    3131 */
    3232if ( post_type_supports( $post_type, 'editor' ) && ! wp_is_mobile() &&
    33      ! ( $is_IE && preg_match( '/MSIE [5678]/', $_SERVER['HTTP_USER_AGENT'] ) ) &&
     33     ! ( wp_is_IE() && preg_match( '/MSIE [5678]/', $_SERVER['HTTP_USER_AGENT'] ) ) &&
    3434     apply_filters( 'wp_editor_expand', true, $post_type ) ) {
    3535
Note: See TracChangeset for help on using the changeset viewer.