post_password) && $_COOKIE["wp-postpass_" . COOKIEHASH] != $post->post_password) return; /* Make sure comments are only executed on pages and posts and not attachments. It's nice to be able to comment on attachments, it's not nice not being able to turn off the comments on them without cheating. Even when you do cheat, typing the post id into the edit URL, you end up breaking the page_parent connection. :( Most of the following code is in place to avoid redundant tags showing up when elements are disabled and to attach classes to tags under different circumstances. */ if ((pings_open() || comments_open() || $comments) && (!is_attachment() && (is_single() || is_page()))) {?>
user_id == $post->post_author) array_push($comment_class,"author"); /* Is the comment being made by the post Author. */ if ($comment->comment_approved == 0) array_push($comment_class,"unapproved"); /* Is the comment approved. */ /* Turn the array created above to a sting and wrap it in a class="" for echoing.*/ if (is_array($comment_class) && count($comment_class)) { $the_class=implode(" ",$comment_class); $comment_class="class=\"$the_class\" "; unset($the_class); } else unset($comment_class); /* Echo out the actual comment. */ ?>- >
echo ($comment->comment_approved == 0 ? "".__("Your comment is not yet approved.")." " : "");?>
,
You must be /wp-login.php?redirect_to=">logged in to comment.