Support Forum

Compatibility with Membership plugins

35 Answers

New Answer

DO dogsday
dogsday
Member

Hi Guys,

OK, I’ve got some clarification from MP about how they flag changes in WP user role.

Hopefully this make some sense to you…

Hi xxx,

MemberPress adds to and removes from the default role(s). So the WordPress hooks would be  add_user_role… https://developer.wordpress.org/reference/classes/wp_user/add_role/ and remove_user_role… https://developer.wordpress.org/reference/classes/wp_user/remove_role/

Do let me know what you think and how we can run some tests to debug.

Cheers

DD

MP Mr Papa
Mr Papa
Member

We were looking at this the past weekend. I think we are not properly handling the remove role hook… 

Investigating some fixes but will take a few days, possibly until the weekend. Would like to get it in the upcoming 5.8 release if needed  

DO dogsday
dogsday
Member

Thanks MrPapa,

I have a test domain running with various plugins, mainly MP and SP for this very reason. If you want me to test any beta version of 5.8, just let me know.

Thanks for your help

DD

MP Mr Papa
Mr Papa
Member

okay thanks.. Still discussing if we do beta for 5.8 or not…  when we make the change, if its small, we may post it here for you to try…

YS Yellow Swordfish
Yellow Swordfish
Member

Just to confirm – we have made a fix for this wich will be in the forthcoming 5.7.5.3 update and has tested out successfully. Thanks