[wp-trac] [WordPress Trac] #11644: multiple blogs & sites / merge WPMU

WordPress Trac wp-trac at lists.automattic.com
Sun Jan 31 11:43:42 UTC 2010


#11644: multiple blogs & sites / merge WPMU
----------------------------+-----------------------------------------------
 Reporter:  hakre           |       Owner:  wpmuguru 
     Type:  task (blessed)  |      Status:  assigned 
 Priority:  normal          |   Milestone:  3.0      
Component:  Multisite       |     Version:           
 Severity:  normal          |    Keywords:  multisite
----------------------------+-----------------------------------------------

Comment(by dd32):

 Just spotted this code: http://core.trac.wordpress.org/browser/trunk/wp-
 admin/user-new.php#L71
 {{{
 $newuser_key = substr( md5( $user_id ), 0, 5 );
 add_option( 'new_user_' . $newuser_key, array(
 }}}

 That key isnt exactly a highly unique ID, {{{'new_user_' . $user_id}}}
 would be just the same.. with a slightly less random looking URL.

 That generation code should probably be changed over to use the random
 password generator or similar..

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


More information about the wp-trac mailing list