diff --git a/wp-comments-post.php b/wp-comments-post.php index 3bebc15b6..f0ce7f74b 100644 --- a/wp-comments-post.php +++ b/wp-comments-post.php @@ -31,7 +31,7 @@ endif; $comment_type = ''; -if ( get_settings('require_name_email') && ('' == $comment_author_email || '' == $comment_author) ) +if ( (get_settings('require_name_email') && !$user_ID) && ('' == $comment_author_email || '' == $comment_author) ) die( __('Error: please fill the required fields (name, email).') ); if ( '' == $comment_content )