Skip to:
Content

bbPress.org

Opened 9 years ago

Closed 9 years ago

#2206 closed defect (bug) (worksforme)

User is added to all subdomain sites as participant after calling add_user_to_blog function in a plugin when bbPress is active

Reported by: sontru Owned by:
Milestone: Priority: normal
Severity: normal Version: trunk
Component: Component - Users Keywords:
Cc:

Description

When using Wordpress (Multisite) (v3.4.2) add_user_to_blog function in plugin code, and bbPress is active, admin user who is calling the plugin code is added to all subdomain sites as participants.

Admin user does not appear in user list on subdomain, but does have capabilities and levels (of 0) entries in the wp_usermeta table for all subdomain sites. All subdomain sites appear in this admin user's drop down list of Sites.

Change History (5)

#1 @sontru
9 years ago

I think this issue manifests using the wp_create_user function rather than the add_user_to_blog function, or rather both used together. I wrote a simple test with add_user_to_blog function and the issue did not occur. I modified the code to create a user first with wp_create_user and then used add_user_to_blog and the issue manifested.

Unfortunately, used this test on a new install of Wordpress v3.4.2 multisite with bbPress activated, but could not replicate the issue with a few sub sites and a few users (less than 4 of each). It is currently causing the issue on my live installation with 70+ users and 25+ sub sites.

#2 @alexvorn2
9 years ago

  • Component changed from General to Users

#3 @netweb
9 years ago

See bbpress.org for more detailed info.

#4 @sontru
9 years ago

Hey! I’ve just installed bbPress v2.3 beta 2 and it has fixed this problem!

I don’t know if the fix to the first bug help fixed this issue, but I no longer have this issue on my live site!

#5 @johnjamesjacoby
9 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to worksforme
  • Status changed from new to closed

Maybe related to #2210. Closing for now to redirect discussion where the action is.

Note: See TracTickets for help on using tickets.