Ticket #18626: 18626.patch
| File 18626.patch, 782 bytes (added by SergeyBiryukov, 9 months ago) |
|---|
-
wp-includes/general-template.php
1736 1736 1737 1737 if ( !isset( $wp_rich_edit) ) { 1738 1738 if ( get_user_option( 'rich_editing' ) == 'true' && 1739 !$is_iphone && // this includes all Safari mobile browsers1740 1739 ( ( preg_match( '!AppleWebKit/(\d+)!', $_SERVER['HTTP_USER_AGENT'], $match ) && intval($match[1]) >= 420 ) || 1741 !preg_match( '!opera[ /][2-8]|konqueror|safari!i', $_SERVER['HTTP_USER_AGENT'] ) ) 1740 !preg_match( '!opera[ /][2-8]|konqueror|safari!i', $_SERVER['HTTP_USER_AGENT'] ) ) && 1741 !( $is_iphone && intval( $match[1] ) < 534 ) 1742 1742 ) { 1743 1743 $wp_rich_edit = true; 1744 1744 } else {
