[wp-trac] Re: [WordPress Trac] #2910: Allow user to choose login name and password during setup

WordPress Trac wp-trac at lists.automattic.com
Wed Jul 5 14:44:16 GMT 2006


#2910: Allow user to choose login name and password during setup
----------------------------+-----------------------------------------------
 Reporter:  ketsugi         |        Owner:  darkfate
     Type:  enhancement     |       Status:  assigned
 Priority:  normal          |    Milestone:  2.0.4   
Component:  Administration  |      Version:  2.0.4   
 Severity:  normal          |   Resolution:          
 Keywords:  bg|has-patch    |  
----------------------------+-----------------------------------------------
Comment (by darkfate):

 I guess we want to sanitize the username to be safe. I would use something
 like:

 {{{
 if(!eregi("^([0-9 a-z])+$", $admin_username)) {};
 }}}

 Or should it use the functions in registration_functions.php like on lines
 38 and 39.

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


More information about the wp-trac mailing list