| 814 | | $wp_rich_edit = ( 'true' == get_user_option('rich_editing') && !preg_match('!opera[ /][2-8]|konqueror|safari!i', $_SERVER['HTTP_USER_AGENT']) && 'comment.php' != $pagenow && rich_edit_exists() ) ? true : false; |
| | 814 | $wp_rich_edit = ( |
| | 815 | 'true' == get_user_option('rich_editing') && |
| | 816 | ( ( preg_match('!AppleWebKit/(\d+)!', $_SERVER['HTTP_USER_AGENT'],$match) && $match[1] >= 420 ) || !preg_match('!opera[ /][2-8]|konqueror|safari!i', $_SERVER['HTTP_USER_AGENT']) ) && |
| | 817 | 'comment.php' != $pagenow && rich_edit_exists() |
| | 818 | ) ? true : false; |