Don't attempt to define the COMMENTS_TEMPLATE constant twice. Props kitchin. fixes #21337

git-svn-id: https://develop.svn.wordpress.org/trunk@21330 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2012-07-25 17:54:35 +00:00
parent fba8941581
commit 712e8a48d2
1 changed files with 1 additions and 1 deletions

View File

@ -907,7 +907,7 @@ function comments_template( $file = '/comments.php', $separate_comments = false
$overridden_cpage = true;
}
if ( !defined('COMMENTS_TEMPLATE') || !COMMENTS_TEMPLATE)
if ( !defined('COMMENTS_TEMPLATE') )
define('COMMENTS_TEMPLATE', true);
$include = apply_filters('comments_template', STYLESHEETPATH . $file );