WordPress.org

Make WordPress Core

Changeset 8498


Ignore:
Timestamp:
07/30/08 06:26:59 (6 years ago)
Author:
westi
Message:

Switch to get_theme_root()

File:
1 edited

Legend:

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

    r8497 r8498  
    1010        load_template( TEMPLATEPATH . '/header.php'); 
    1111    else 
    12         load_template( WP_CONTENT_DIR . '/themes/default/header.php'); 
     12        load_template( get_theme_root() . '/default/header.php'); 
    1313} 
    1414 
     
    2121        load_template( TEMPLATEPATH . '/footer.php'); 
    2222    else 
    23         load_template( WP_CONTENT_DIR . '/themes/default/footer.php'); 
     23        load_template( get_theme_root() . '/default/footer.php'); 
    2424} 
    2525 
     
    3636        load_template( TEMPLATEPATH . '/sidebar.php'); 
    3737    else 
    38         load_template( WP_CONTENT_DIR . '/themes/default/sidebar.php'); 
     38        load_template( get_theme_root() . '/default/sidebar.php'); 
    3939} 
    4040 
Note: See TracChangeset for help on using the changeset viewer.