Use WP_FALLBACK_THEME instead of default. Props MichaelH. see #12846

git-svn-id: https://develop.svn.wordpress.org/trunk@14080 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2010-04-13 21:56:57 +00:00
parent 7beb454ef2
commit c7eef601d4
2 changed files with 4 additions and 4 deletions

View File

@@ -890,7 +890,7 @@ function comments_template( $file = '/comments.php', $separate_comments = false
elseif ( file_exists( TEMPLATEPATH . $file ) )
require( TEMPLATEPATH . $file );
else
require( get_theme_root() . '/default/comments.php');
require( get_theme_root() . '/'.WP_FALLBACK_THEME.'/comments.php');
}
/**