From 50fc51d8d258e4dcbb8d55992b721fc5ef3cc9d7 Mon Sep 17 00:00:00 2001 From: ryan Date: Wed, 25 Jul 2012 17:54:35 +0000 Subject: [PATCH] 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 --- wp-includes/comment-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/comment-template.php b/wp-includes/comment-template.php index 3d9e1d5603..1b3032fb04 100644 --- a/wp-includes/comment-template.php +++ b/wp-includes/comment-template.php @@ -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 );