git-svn-id: https://develop.svn.wordpress.org/trunk@1968 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2004-12-17 08:44:30 +00:00
parent 59c3fe5b65
commit a007528ca1
1 changed files with 1 additions and 1 deletions

View File

@ -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');