Open kimwhite opened 2 years ago
I waas able to replicate this, I believe the issue here is that BuddyPress/BuddyBoss is owning this. Same goes for the edit user profile page, it may update the user roles based on the submission of this data.
We would need to add compatibility for this, or run our code really really late (hopefully that's the simple fix).
The snippet here could be run regularly to assign roles to users/members in this scenario - https://github.com/strangerstudios/pmpro-roles/issues/8
Describe the bug When using the BuddyPress/Boss registrations form, Custom Roles are not assigned when using a snippet to add a default role .
To Reproduce Steps to reproduce the behavior:
Screenshots
Expected behavior Member should be assigned all roles for that level.
Isolating the problem (mark completed items with an [x]):
WordPress Environment