From c06774ac9e4132ffcff4526bca253335615fab96 Mon Sep 17 00:00:00 2001
From: mikelittle
-get_results("SELECT * FROM $tablecomments WHERE comment_post_ID = $id ORDER BY comment_date");
$commentstatus = $wpdb->get_row("SELECT comment_status, post_password FROM $tableposts WHERE ID = $id");
if (!empty($commentstatus->post_password) && $HTTP_COOKIE_VARS['wp-postpass_'.$cookiehash] != $commentstatus->post_password) { // and it doesn't match the cookie
@@ -49,7 +50,6 @@ else {
} else { // this is displayed if there are no comments so far
?>
Sorry, comments are closed at this time.
- @@ -98,23 +97,17 @@ else { } ?> - - - - - - +Powered by Wordpress
- - +