Use WP_FALLBACK_THEME instead of default. Props MichaelH. see #12846
git-svn-id: http://svn.automattic.com/wordpress/trunk@14080 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user