Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#15172 closed defect (bug) (fixed)

undefined $current_site->blogid in add_new_user_to_blog in ms-functions.php

Reported by: sboisvert Owned by:
Milestone: 3.1 Priority: normal
Severity: normal Version: 3.0.1
Component: Multisite Keywords:
Focuses: Cc:


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,


Change History (1)

#1 @westi
10 years ago

  • Milestone changed from Awaiting Review to 3.1
  • Resolution set to fixed
  • Status changed from new to closed

This is correct in trunk

Note: See TracTickets for help on using tickets.