if (!empty($_SERVER['SCRIPT_FILENAME']) && '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
?>
This post is password protected. Enter the password to view comments.
return;
}
}
/* This variable is for alternating comment background */
$oddcomment = 'class="alt" ';
?>
to “”
if (function_exists('get_avatar')) {
echo get_avatar( $comment, 69);
} else {
//alternate gravatar code for < 2.5
$grav_url = "http://www.gravatar.com/avatar.php?gravatar_id=
" . md5($email) . "&default=" . urlencode($default) . "&size=" . $size;
echo "";
}
?>
Says:
Your comment is awaiting moderation.
/* Changes every other comment to a different class */
$oddcomment = ( empty( $oddcomment ) ) ? 'class="alt" ' : '';
?>
Comments are closed.
Leave a Reply
You must be
Logged in as
Name
Mail (will not be published)
Website