I count good now

git-svn-id: https://develop.svn.wordpress.org/trunk@2558 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2005-04-20 19:05:34 +00:00
parent 34f8f74d36
commit beb8bbab56

View File

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