git-svn-id: https://develop.svn.wordpress.org/trunk@1968 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
59c3fe5b65
commit
a007528ca1
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user