Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
I count good now
git-svn-id: http://svn.automattic.com/wordpress/trunk@2558 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information
matt committed Apr 20, 2005
1 parent c377504 commit 0cffb54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wp-comments-post.php
Expand Up @@ -32,7 +32,7 @@
$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.') );
Expand Down

0 comments on commit 0cffb54

Please sign in to comment.