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/edit-form-advanced.php

    r38467 r38468  
    3131 */
    3232if ( post_type_supports( $post_type, 'editor' ) && ! wp_is_mobile() &&
    33      ! ( wp_is_IE() && preg_match( '/MSIE [5678]/', $_SERVER['HTTP_USER_AGENT'] ) ) &&
     33     ! ( $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.