From 766178708e10bfb9bef3d70a971d71dbc2c7355b Mon Sep 17 00:00:00 2001 From: saxmatt Date: Fri, 17 Dec 2004 08:44:30 +0000 Subject: [PATCH] http://mosquito.wordpress.org/view.php?id=558 git-svn-id: http://svn.automattic.com/wordpress/trunk@1968 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-comments-post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-comments-post.php b/wp-comments-post.php index 35ed982c2..9511998d2 100644 --- a/wp-comments-post.php +++ b/wp-comments-post.php @@ -25,7 +25,7 @@ $user_ip = apply_filters('pre_comment_user_ip', $_SERVER['REMOTE_ADDR']); if ( get_settings('require_name_email') && ('' == $email || '' == $author) ) die( __('Error: please fill the required fields (name, email).') ); -if ( '' == $comment ) +if ( '' == $comment_content ) die( __('Error: please type a comment.') ); $commentdata = compact('comment_post_ID', 'comment_author', 'comment_author_email', 'comment_author_url', 'comment_content', 'comment_type');