Make WordPress Core


Ignore:
Timestamp:
05/08/2017 05:31:08 AM (8 years ago)
Author:
azaozz
Message:

TinyMCE: update to 4.6.0. Has many new features and bug fixes, changelog: https://www.tinymce.com/docs/changelog/#version460-may42017.

Fixes #40690.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/general-template.php

    r40476 r40583  
    29892989            if ( $is_safari ) {
    29902990                $wp_rich_edit = ! wp_is_mobile() || ( preg_match( '!AppleWebKit/(\d+)!', $_SERVER['HTTP_USER_AGENT'], $match ) && intval( $match[1] ) >= 534 );
    2991             } elseif ( $is_gecko || $is_chrome || $is_IE || $is_edge || ( $is_opera && !wp_is_mobile() ) ) {
     2991            } elseif ( $is_IE ) {
     2992                $wp_rich_edit = ( strpos( $_SERVER['HTTP_USER_AGENT'], 'MSIE ' ) === false );
     2993            } elseif ( $is_gecko || $is_chrome || $is_edge || ( $is_opera && !wp_is_mobile() ) ) {
    29922994                $wp_rich_edit = true;
    29932995            }
Note: See TracChangeset for help on using the changeset viewer.