[wpmu-trac] [WordPress MU Trac] #808: $user is set locally within wpmu_create_user()

WordPress MU Trac wpmu-trac at lists.automattic.com
Fri Dec 5 23:44:20 GMT 2008


#808: $user is set locally within wpmu_create_user()
------------------------+---------------------------------------------------
 Reporter:  chmac       |       Owner:  somebody
     Type:  defect      |      Status:  new     
 Priority:  low         |   Milestone:          
Component:  component1  |     Version:          
 Severity:  minor       |    Keywords:          
------------------------+---------------------------------------------------
 This is a pretty trivial detail, but as I read the code, [source:trunk/wp-
 includes/wpmu-functions.php@#L1217 $user is set locally within the
 wpmu_create_user()] function. So my guess is that either it should be
 global, or there's no point setting it. I've attached a patch to make it a
 global variable.

-- 
Ticket URL: <http://trac.mu.wordpress.org/ticket/808>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser


More information about the wpmu-trac mailing list