Changeset 35384
- Timestamp:
- 10/24/2015 06:12:10 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/general-template.php
r35379 r35384 2519 2519 */ 2520 2520 function user_can_richedit() { 2521 global $wp_rich_edit, $is_gecko, $is_opera, $is_safari, $is_chrome, $is_IE ;2521 global $wp_rich_edit, $is_gecko, $is_opera, $is_safari, $is_chrome, $is_IE, $is_edge; 2522 2522 2523 2523 if ( !isset($wp_rich_edit) ) { … … 2527 2527 if ( $is_safari ) { 2528 2528 $wp_rich_edit = ! wp_is_mobile() || ( preg_match( '!AppleWebKit/(\d+)!', $_SERVER['HTTP_USER_AGENT'], $match ) && intval( $match[1] ) >= 534 ); 2529 } elseif ( $is_gecko || $is_chrome || $is_IE || ( $is_opera && !wp_is_mobile() ) ) {2529 } elseif ( $is_gecko || $is_chrome || $is_IE || $is_edge || ( $is_opera && !wp_is_mobile() ) ) { 2530 2530 $wp_rich_edit = true; 2531 2531 }
Note: See TracChangeset
for help on using the changeset viewer.