I count good now
git-svn-id: http://svn.automattic.com/wordpress/trunk@2558 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c377504cd3
commit
0cffb54324
|
@ -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.') );
|
||||
|
|
Loading…
Reference in New Issue