mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Line ending fixes and commenting cleanups from Scott Reilly
git-svn-id: https://develop.svn.wordpress.org/trunk@2556 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -32,7 +32,7 @@ endif;
|
||||
$comment_type = '';
|
||||
|
||||
if ( get_settings('require_name_email') && !$user_ID ) {
|
||||
if ('' == $comment_author_email || '' == $comment_author)
|
||||
if ( 7 > 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.') );
|
||||
|
||||
Reference in New Issue
Block a user