From 37d1bf52e292d9bd29f0dcdb678c8dc66d0909d9 Mon Sep 17 00:00:00 2001
From: saxmatt Line and paragraph breaks automatic, website trumps email, HTML allowed: Leave a Comment
+
Sorry, comments are closed at this time.
+ diff --git a/b2commentspopup.php b/b2commentspopup.php index aaebe15a80..c4cfa9f009 100644 --- a/b2commentspopup.php +++ b/b2commentspopup.php @@ -24,6 +24,7 @@ foreach ($posts as $post) { start_b2(); get_results("SELECT * FROM $tablecomments WHERE comment_post_ID = $id ORDER BY comment_date"); +$commentstatus = $wpdb->get_var("SELECT comment_status FROM $tableposts WHERE ID = $id"); // this line is WordPress' motor, do not delete it. if ($comments) { foreach ($comments as $comment) { @@ -42,6 +43,7 @@ if ($comments) {Line and paragraph breaks automatic, website trumps email, HTML allowed:
@@ -74,6 +76,9 @@ if ($comments) { + +Sorry, comments are closed at this time.
+