if ('comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
die ('Please do not load this page directly. Thanks!');
if (!empty($post->post_password)) { // if there's a password
if ($_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) { // and it doesn't match the cookie
?>
return;
}
}
/* This variable is for alternating comment background */
$oddcomment = 'alt';
?>
to “”
Says:
Your comment is awaiting moderation.
if ('alt' == $oddcomment) $oddcomment = '';
else $oddcomment = 'alt';
?>
Comments are closed.
Leave a Reply
You must be
Logged in as
Name
Mail (will not be published)
Website