From 0cffb54324fb3eed2b654a70c3e6b61da8f4bf58 Mon Sep 17 00:00:00 2001 From: matt Date: Wed, 20 Apr 2005 19:05:34 +0000 Subject: [PATCH] I count good now git-svn-id: http://svn.automattic.com/wordpress/trunk@2558 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 bdbe9c3edf..554abd570d 100644 --- a/wp-comments-post.php +++ b/wp-comments-post.php @@ -32,7 +32,7 @@ endif; $comment_type = ''; if ( get_settings('require_name_email') && !$user_ID ) { - if ( 7 > strlen($comment_author_email) || '' == $comment_author ) + if ( 6 > strlen($comment_author_email) || '' == $comment_author ) die( __('Error: please fill the required fields (name, email).') ); elseif ( !is_email($comment_author_email)) die( __('Error: please enter a valid email address.') );