[wp-trac] [WordPress Trac] #2541: Filter hook for checking registration information

WordPress Trac wp-trac at lists.automattic.com
Tue Mar 7 07:37:07 GMT 2006


#2541: Filter hook for checking registration information
-----------------------+----------------------------------------------------
       Id:  2541       |      Status:  new                     
Component:  General    |    Modified:  Tue Mar  7 07:37:07 2006
 Severity:  minor      |   Milestone:  2.0.2                   
 Priority:  normal     |     Version:  2.0.1                   
    Owner:  anonymous  |    Reporter:  thefreefood             
-----------------------+----------------------------------------------------
 I would like to prevent users from registering to my site if their email
 address is not from a specific domain.  For this purpose and other similar
 types of restrictions on registration, it would be convenient to add a
 filter hook to wp_register.php that passes an array with username,
 password, and email address information and returns an errors array that
 is incorporated into $errors before the user is registered.  Then, if a
 filter returns NULL, registration would proceed.  This seems like it would
 be broadly useful.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/2541>
WordPress Trac <http://wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list