WordPress.org

Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/wp-includes/general-template.php

    r15227 r15461  
    3333    // Backward compat code will be removed in a future release
    3434    if ('' == locate_template($templates, true))
    35         load_template( WPINC . '/theme-compat/header.php');
     35        load_template( ABSPATH . WPINC . '/theme-compat/header.php');
    3636}
    3737
     
    6262    // Backward compat code will be removed in a future release
    6363    if ('' == locate_template($templates, true))
    64         load_template( WPINC . '/theme-compat/footer.php');
     64        load_template( ABSPATH . WPINC . '/theme-compat/footer.php');
    6565}
    6666
     
    9191    // Backward compat code will be removed in a future release
    9292    if ('' == locate_template($templates, true))
    93         load_template( WPINC . '/theme-compat/sidebar.php');
     93        load_template( ABSPATH . WPINC . '/theme-compat/sidebar.php');
    9494}
    9595
     
    17221722 */
    17231723function user_can_richedit() {
    1724     global $wp_rich_edit, $pagenow;
     1724    global $wp_rich_edit, $pagenow, $is_iphone;
    17251725
    17261726    if ( !isset( $wp_rich_edit) ) {
    17271727        if ( get_user_option( 'rich_editing' ) == 'true' &&
     1728            !$is_iphone && // this includes all Safari mobile browsers
    17281729            ( ( preg_match( '!AppleWebKit/(\d+)!', $_SERVER['HTTP_USER_AGENT'], $match ) && intval($match[1]) >= 420 ) ||
    17291730                !preg_match( '!opera[ /][2-8]|konqueror|safari!i', $_SERVER['HTTP_USER_AGENT'] ) )
Note: See TracChangeset for help on using the changeset viewer.