Use new default theme path.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2033 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ab6ff7fee4
commit
15e84a0811
|
@ -15,7 +15,7 @@ function comments_template() {
|
|||
if ( file_exists( TEMPLATEPATH . '/comments.php') )
|
||||
require( TEMPLATEPATH . '/comments.php');
|
||||
else
|
||||
require( ABSPATH . 'wp-includes/wp-comments.php');
|
||||
require( ABSPATH . 'wp-content/themes/default/comments.php');
|
||||
|
||||
endif;
|
||||
}
|
||||
|
@ -71,7 +71,7 @@ function comments_popup_script($width=400, $height=400, $file='') {
|
|||
if ( file_exists( TEMPLATEPATH . '/comments-popup.php') )
|
||||
$wpcommentspopupfile = str_replace(ABSPATH, '', TEMPLATEPATH . '/comments-popup.php');
|
||||
else
|
||||
$wpcommentspopupfile = 'wp-includes/wp-comments-popup.php';
|
||||
$wpcommentspopupfile = 'wp-content/themes/default/comments-popup.php';
|
||||
} else {
|
||||
$wpcommentspopupfile = $file;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue