diff --git a/b2comments.php b/b2comments.php index 1547332465..af8d631780 100644 --- a/b2comments.php +++ b/b2comments.php @@ -10,22 +10,21 @@ } } - $comment_author = (empty($HTTP_COOKIE_VARS["comment_author"])) ? "name" : $HTTP_COOKIE_VARS["comment_author"]; - $comment_author_email = (empty($HTTP_COOKIE_VARS["comment_author"])) ? "email" : trim($HTTP_COOKIE_VARS["comment_author_email"]); - $comment_author_url = (empty($HTTP_COOKIE_VARS["comment_author"])) ? "url" : trim($HTTP_COOKIE_VARS["comment_author_url"]); + $comment_author = trim($HTTP_COOKIE_VARS["comment_author"]); + $comment_author_email = trim($HTTP_COOKIE_VARS["comment_author_email"]); + $comment_author_url = trim($HTTP_COOKIE_VARS["comment_author_url"]); $comments = $wpdb->get_results("SELECT * FROM $tablecomments WHERE comment_post_ID = $id ORDER BY comment_date"); ?> - +
RSS feed for comments on this post.
ping_status) { ?> -The URL to TrackBack this entry is:
-+
The URI to TrackBack this entry is:
Line and paragraph breaks automatic, website trumps email, HTML allowed:
+Line and paragraph breaks automatic, website trumps email, HTML allowed: