From 563e470237328c329c90e39157c6d2f815c132be Mon Sep 17 00:00:00 2001 From: westi Date: Wed, 30 Jul 2008 06:26:59 +0000 Subject: [PATCH] Switch to get_theme_root() git-svn-id: http://svn.automattic.com/wordpress/trunk@8498 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/general-template.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/general-template.php b/wp-includes/general-template.php index 7d04573398..0b6b4b415c 100644 --- a/wp-includes/general-template.php +++ b/wp-includes/general-template.php @@ -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'); }