Changeset 14080
- Timestamp:
- 04/13/2010 09:56:57 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/upgrade.php
r14060 r14080 1614 1614 $index = implode('', file("$oldpath/$oldfile")); 1615 1615 if (strpos($index, 'WP_USE_THEMES') !== false) { 1616 if (! @copy(WP_CONTENT_DIR . '/themes/ default/index.php', "$site_dir/$newfile"))1616 if (! @copy(WP_CONTENT_DIR . '/themes/'.WP_FALLBACK_THEME.'/index.php', "$site_dir/$newfile")) 1617 1617 return false; 1618 1618 continue; // Don't copy anything … … 1674 1674 function make_site_theme_from_default($theme_name, $template) { 1675 1675 $site_dir = WP_CONTENT_DIR . "/themes/$template"; 1676 $default_dir = WP_CONTENT_DIR . '/themes/ default';1676 $default_dir = WP_CONTENT_DIR . '/themes/'.WP_FALLBACK_THEME; 1677 1677 1678 1678 // Copy files from the default theme to the site theme. … … 1770 1770 // Make the new site theme active. 1771 1771 $current_template = __get_option('template'); 1772 if ($current_template == 'default') {1772 if ($current_template == WP_FALLBACK_THEME) { 1773 1773 update_option('template', $template); 1774 1774 update_option('stylesheet', $template); -
trunk/wp-includes/comment-template.php
r14073 r14080 891 891 require( TEMPLATEPATH . $file ); 892 892 else 893 require( get_theme_root() . '/ default/comments.php');893 require( get_theme_root() . '/'.WP_FALLBACK_THEME.'/comments.php'); 894 894 } 895 895
Note: See TracChangeset
for help on using the changeset viewer.