[wp-trac] [WordPress Trac] #14767: wp_create_user() does not check for a valid email address

WordPress Trac wp-trac at lists.automattic.com
Fri Sep 3 06:18:24 UTC 2010


#14767: wp_create_user() does not check for a valid email address
--------------------------+-------------------------------------------------
 Reporter:  mrwiblog      |       Owner:                                     
     Type:  defect (bug)  |      Status:  new                                
 Priority:  normal        |   Milestone:  3.1                                
Component:  Users         |     Version:  3.0.1                              
 Severity:  normal        |    Keywords:  wp_create_user, is_email, has-patch
--------------------------+-------------------------------------------------

Comment(by filosofo):

 Replying to [comment:3 nacin]:
 > We should make email addresses required and enforce uniqueness.

 I think we should consider doing the opposite: making email addresses just
 another user datum, like URL.  The current system, which de facto requires
 email addresses, makes it tricky to implement authorization or
 authentication protocols such as OAuth or OpenID that don't necessarily
 get you a user's email address.

 Aside from emailing password resets (which is not needed for sites
 accepting those protocols), there's not much reason for core WP to require
 email addresses.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14767#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list