[wp-trac] [WordPress Trac] #13124: Use the original username in signup validation

WordPress Trac wp-trac at lists.automattic.com
Mon Apr 26 16:57:30 UTC 2010


#13124: Use the original username in signup validation
-------------------------+--------------------------------------------------
 Reporter:  donncha      |       Owner:               
     Type:  enhancement  |      Status:  new          
 Priority:  normal       |   Milestone:  3.0          
Component:  Users        |     Version:  3.0          
 Severity:  normal       |    Keywords:  users, signup
-------------------------+--------------------------------------------------
 During signup, the original username is lost if it contains any unusual
 characters because of the sanitize_user() call. This patch restores the
 username so the signup page shows the original username again. The signup
 form will display an error as well allowing the user to modify it.

 The current behaviour returns a modified but acceptable username. Some
 users won't notice and create that user then get angry when they realise
 it has changed.

 This patch also adds the original username to the $result array passed to
 the "wpmu_validate_user_signup" filter.

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


More information about the wp-trac mailing list