[wp-trac] [WordPress Trac] #15172: undefined $current_site->blogid in add_new_user_to_blog in ms-functions.php

WordPress Trac wp-trac at lists.automattic.com
Wed Oct 20 17:28:33 UTC 2010


#15172: undefined $current_site->blogid  in add_new_user_to_blog in ms-
functions.php
--------------------------+-------------------------------------------------
 Reporter:  sboisvert     |       Owner:                 
     Type:  defect (bug)  |      Status:  new            
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Multisite     |     Version:  3.0.1          
 Severity:  normal        |    Keywords:                 
--------------------------+-------------------------------------------------
 in 3.01 and from what I can tell in the current trunk on line 1415 of ms-
 functions (current trunk) under the function add_new_user_to_blog() There
 is a call to

 remove_user_from_blog($user_id, $current_site->blogid); // remove user
 from main blog.

 the variable $current_site->blogid  is not set, I believe it should be:
 $current_site->blog_id, which is set.

 Thank you,

 -Steph

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


More information about the wp-trac mailing list