Two bugs with bbPress 2.2.4 and WordPress Multisite 3.4.2?
-
If bbPress is running on a WordPress Multisite subdomain, then it seems to be adding network users who visit a sub site to the sub site’s users as participants – this includes the super-admin!
Activate bbPress plugin on a subdomain and ths default setting is unchecked:
`
Auto role | Automatically assign default role to new, registered users upon visiting the site.
`Visit the sub site as any network user, and they are added as a participant! Only after checking the Auto role option, saving and unchecking it and saving again, does this work as intended.
The second bug is a major one and can only be stopped by deactivating bbPress!
I am writing a plugin which creates users and adds them to blogs. I am using the add_user_to_blog* function and each time I call it with bbPress activated, it adds the admin user who is calling the function to ALL blogs as a participant! If I go into a subdomain as a admin user of that site, this admin user is not listed (even in subdomain who have bbPress enabled), but I as this admin can see all sites are listed in my Sites drop down. I manually look into the database and see in the wp_usermeta table that this user has capabilities and level (of 0) entries for all blogs!
Of course if I deactivate bbPress and call up the add_user_to_blog, everything works as expected, and the user calling up the function does not get added as a participant to ALL the sub sites! I think there is some sort of filter that bbPress is applying that is causing this.
Could someone look at this and see if they can replicate it and fix it?
You must be logged in to reply to this topic.