mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-05 16:08:12 +01:00
Don't require email address from registered authors. http://mosquito.wordpress.org/view.php?id=948 Props: michel_v
git-svn-id: http://svn.automattic.com/wordpress/trunk@2431 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
5a295374c6
commit
b4f88fc01c
@ -31,7 +31,7 @@ endif;
|
|||||||
|
|
||||||
$comment_type = '';
|
$comment_type = '';
|
||||||
|
|
||||||
if ( get_settings('require_name_email') && ('' == $comment_author_email || '' == $comment_author) )
|
if ( (get_settings('require_name_email') && !$user_ID) && ('' == $comment_author_email || '' == $comment_author) )
|
||||||
die( __('Error: please fill the required fields (name, email).') );
|
die( __('Error: please fill the required fields (name, email).') );
|
||||||
|
|
||||||
if ( '' == $comment_content )
|
if ( '' == $comment_content )
|
||||||
|
Loading…
Reference in New Issue
Block a user