Changeset 19936 for trunk/wp-includes/general-template.php
- Timestamp:
- 02/17/2012 12:21:00 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/general-template.php
r19851 r19936 1752 1752 $wp_rich_edit = false; 1753 1753 1754 if ( get_user_option( 'rich_editing' ) == 'true' || ! is_user_logged_in() ) { // default to 'true' for logged out users1754 if ( get_user_option( 'rich_editing' ) == 'true' || ! is_user_logged_in() ) { // default to 'true' for logged out users 1755 1755 if ( $is_safari ) { 1756 if ( !$is_iphone || ( preg_match( '!AppleWebKit/(\d+)!', $_SERVER['HTTP_USER_AGENT'], $match ) && intval($match[1]) >= 534 ) ) 1756 if ( $is_iphone || false !== strpos( $_SERVER['HTTP_USER_AGENT'], '; Silk/' ) ) 1757 $wp_rich_edit = ( preg_match( '!AppleWebKit/(\d+)!', $_SERVER['HTTP_USER_AGENT'], $match ) && intval( $match[1] ) >= 534 ); 1758 else 1757 1759 $wp_rich_edit = true; 1758 1760 } elseif ( $is_gecko || $is_opera || $is_chrome || $is_IE ) {
Note: See TracChangeset
for help on using the changeset viewer.