Make WordPress Core


Ignore:
Timestamp:
03/11/2005 03:31:39 AM (19 years ago)
Author:
ryan
Message:

Don't require email address from registered authors. http://mosquito.wordpress.org/view.php?id=948 Props: michel_v

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-comments-post.php

    r2427 r2431  
    3232$comment_type = '';
    3333
    34 if ( get_settings('require_name_email') && ('' == $comment_author_email || '' == $comment_author) )
     34if ( (get_settings('require_name_email') && !$user_ID) && ('' == $comment_author_email || '' == $comment_author) )
    3535    die( __('Error: please fill the required fields (name, email).') );
    3636
Note: See TracChangeset for help on using the changeset viewer.