diff --git a/src/wp-includes/general-template.php b/src/wp-includes/general-template.php index ca2dbc02ec..4fda9c725b 100644 --- a/src/wp-includes/general-template.php +++ b/src/wp-includes/general-template.php @@ -3081,7 +3081,7 @@ function user_can_richedit() { if ( $is_safari ) { $wp_rich_edit = ! wp_is_mobile() || ( preg_match( '!AppleWebKit/(\d+)!', $_SERVER['HTTP_USER_AGENT'], $match ) && intval( $match[1] ) >= 534 ); } elseif ( $is_IE ) { - $wp_rich_edit = ( strpos( $_SERVER['HTTP_USER_AGENT'], 'MSIE ' ) === false ); + $wp_rich_edit = ( strpos( $_SERVER['HTTP_USER_AGENT'], 'Trident/7.0;' ) !== false ); } elseif ( $is_gecko || $is_chrome || $is_edge || ( $is_opera && ! wp_is_mobile() ) ) { $wp_rich_edit = true; }