Changeset 13202
- Timestamp:
- 02/18/2010 10:09:06 PM (16 years ago)
- Location:
- trunk/wp-includes
- Files:
-
- 2 edited
-
general-template.php (modified) (4 diffs)
-
theme.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/general-template.php
r13146 r13202 12 12 * Includes the header template for a theme or if a name is specified then a 13 13 * specialised header will be included. If the theme contains no header.php file 14 * then the header from the defaulttheme will be included.14 * then the header from the WP_FALLBACK_THEME theme will be included. 15 15 * 16 16 * For the parameter, if the file is called "header-special.php" then specify … … 33 33 34 34 if ('' == locate_template($templates, true)) 35 load_template( get_theme_root() . '/ default/header.php');35 load_template( get_theme_root() . '/'. WP_FALLBACK_THEME. '/header.php'); 36 36 } 37 37 … … 62 62 63 63 if ('' == locate_template($templates, true)) 64 load_template( get_theme_root() . '/ default/footer.php');64 load_template( get_theme_root() . '/' . WP_FALLBACK_THEME . '/footer.php'); 65 65 } 66 66 … … 91 91 92 92 if ('' == locate_template($templates, true)) 93 load_template( get_theme_root() . '/ default/sidebar.php');93 load_template( get_theme_root() . '/' . WP_FALLBACK_THEME . '/sidebar.php'); 94 94 } 95 95 -
trunk/wp-includes/theme.php
r13190 r13202 950 950 * Checks for comment popup template in current template, if it exists or in the 951 951 * parent template. If it doesn't exist, then it retrieves the comment-popup.php 952 * file from the default theme. The defaulttheme must then exist for it to952 * file from the WP_FALLBACK_THEME theme. The WP_FALLBACK_THEME theme must then exist for it to 953 953 * work. 954 954 *
Note: See TracChangeset
for help on using the changeset viewer.