[wp-trac] [WordPress Trac] #10319: WordPress import fails to create new users

WordPress Trac wp-trac at lists.automattic.com
Sun Dec 27 08:39:26 UTC 2009


#10319: WordPress import fails to create new users
--------------------------+-------------------------------------------------
 Reporter:  yoavf         |       Owner:             
     Type:  defect (bug)  |      Status:  new        
 Priority:  normal        |   Milestone:  3.0        
Component:  Import        |     Version:  2.8        
 Severity:  normal        |    Keywords:  needs-patch
--------------------------+-------------------------------------------------

Comment(by westi):

 Replying to [comment:7 hakre]:
 > What is an invalid / a valid username? We could create a validation
 function then and deal accordingly with valid / invalid usernames as
 needed.

 It gets passed through {{{sanitize_user($user_login, true)}}} so the valid
 name has to match all the rules there.

 The big problem at the moment is what to do when the username has no valid
 chars in it.

 I suspect we should modify the first step to show the usernames which will
 be created and allow the user to change them if no good.

 Something like:

 Username in import - Username when imported - Use existing user
 דיסוננס קוגניטיבי - imported_user_1 (o) [admin\/]

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


More information about the wp-trac mailing list