Changes from trunk/wp-includes/general-template.php at r15227 to branches/3.0/wp-includes/general-template.php at r15461
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.0/wp-includes/general-template.php
r15227 r15461 33 33 // Backward compat code will be removed in a future release 34 34 if ('' == locate_template($templates, true)) 35 load_template( WPINC . '/theme-compat/header.php');35 load_template( ABSPATH . WPINC . '/theme-compat/header.php'); 36 36 } 37 37 … … 62 62 // Backward compat code will be removed in a future release 63 63 if ('' == locate_template($templates, true)) 64 load_template( WPINC . '/theme-compat/footer.php');64 load_template( ABSPATH . WPINC . '/theme-compat/footer.php'); 65 65 } 66 66 … … 91 91 // Backward compat code will be removed in a future release 92 92 if ('' == locate_template($templates, true)) 93 load_template( WPINC . '/theme-compat/sidebar.php');93 load_template( ABSPATH . WPINC . '/theme-compat/sidebar.php'); 94 94 } 95 95 … … 1722 1722 */ 1723 1723 function user_can_richedit() { 1724 global $wp_rich_edit, $pagenow ;1724 global $wp_rich_edit, $pagenow, $is_iphone; 1725 1725 1726 1726 if ( !isset( $wp_rich_edit) ) { 1727 1727 if ( get_user_option( 'rich_editing' ) == 'true' && 1728 !$is_iphone && // this includes all Safari mobile browsers 1728 1729 ( ( preg_match( '!AppleWebKit/(\d+)!', $_SERVER['HTTP_USER_AGENT'], $match ) && intval($match[1]) >= 420 ) || 1729 1730 !preg_match( '!opera[ /][2-8]|konqueror|safari!i', $_SERVER['HTTP_USER_AGENT'] ) )
Note: See TracChangeset
for help on using the changeset viewer.