WordPress.org

Make WordPress Core

Changeset 29180


Ignore:
Timestamp:
07/15/14 22:36:02 (3 years ago)
Author:
azaozz
Message:

Editor scrolling: also disable in IE < 9. See #28328.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/edit-form-advanced.php

    r29117 r29180  
    1313wp_enqueue_script('post'); 
    1414 
    15 if ( post_type_supports( $post_type, 'editor' ) && ! wp_is_mobile() ) { 
     15if ( post_type_supports( $post_type, 'editor' ) && ! wp_is_mobile() && 
     16     ! ( $is_IE && preg_match( '/MSIE [5678]/', $_SERVER['HTTP_USER_AGENT'] ) ) ) { 
     17 
    1618    wp_enqueue_script('editor-expand'); 
    1719    $_wp_autoresize_on = true; 
Note: See TracChangeset for help on using the changeset viewer.