[wp-trac] [WordPress Trac] #10396: Pick an username during the install

WordPress Trac wp-trac at lists.automattic.com
Sat Jan 23 18:51:59 UTC 2010


#10396: Pick an username during the install
-----------------------------+----------------------------------------------
 Reporter:  dcole07          |       Owner:  dancole      
     Type:  task (blessed)   |      Status:  assigned     
 Priority:  normal           |   Milestone:  3.0          
Component:  Upgrade/Install  |     Version:  2.9          
 Severity:  normal           |    Keywords:  needs-testing
-----------------------------+----------------------------------------------

Comment(by nacin):

 Nice work so far... things I'm noticing on initial review:

  - We can't reorder the arguments on wp_install(), just as we have to keep
 backwards compatibility by generating a random password if
 empty($user_password). (The argument should be optional and have a
 default.)

  - We don't need the commonL10n.warnDelete string, but we would need
 convertEntities() which is in utils.js.

  - The sql query would be "show tables like '$wpdb->users'" to see if the
 table exists. Also, I don't think get_users_of_blog() is available at this
 time, anyway.

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


More information about the wp-trac mailing list