mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Switch to get_theme_root()
git-svn-id: https://develop.svn.wordpress.org/trunk@8498 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8b8928d5ac
commit
16e673b165
@ -9,7 +9,7 @@ function get_header() {
|
||||
elseif ( file_exists( TEMPLATEPATH . '/header.php') )
|
||||
load_template( TEMPLATEPATH . '/header.php');
|
||||
else
|
||||
load_template( WP_CONTENT_DIR . '/themes/default/header.php');
|
||||
load_template( get_theme_root() . '/default/header.php');
|
||||
}
|
||||
|
||||
|
||||
@ -20,7 +20,7 @@ function get_footer() {
|
||||
elseif ( file_exists( TEMPLATEPATH . '/footer.php') )
|
||||
load_template( TEMPLATEPATH . '/footer.php');
|
||||
else
|
||||
load_template( WP_CONTENT_DIR . '/themes/default/footer.php');
|
||||
load_template( get_theme_root() . '/default/footer.php');
|
||||
}
|
||||
|
||||
|
||||
@ -35,7 +35,7 @@ function get_sidebar( $name = null ) {
|
||||
elseif ( file_exists( TEMPLATEPATH . '/sidebar.php') )
|
||||
load_template( TEMPLATEPATH . '/sidebar.php');
|
||||
else
|
||||
load_template( WP_CONTENT_DIR . '/themes/default/sidebar.php');
|
||||
load_template( get_theme_root() . '/default/sidebar.php');
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user