Don't attempt to define the COMMENTS_TEMPLATE constant twice. Props kitchin. fixes #21337
git-svn-id: http://core.svn.wordpress.org/trunk@21330 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
8b283073d0
commit
50fc51d8d2
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue