Closed shazahm1 closed 9 years ago
It's been confirmed that this also affect other plugins with custom roles and capabilities.
https://wordpress.org/support/topic/resetting-roles-every-time
Seems like this will be the solution:
/*Prevent s2member re-assigning custom capabilities on re-activation*/
add_filter('ws_plugin__s2member_lock_roles_caps', '__return_true');
Lets add this to the plugin compatibility file in 8.1.5.
Fix in commit 50ba10e2322f06c97e024d4614b8b43a2b825ea4 .
It seems every time s2member releases an update it removes all the custom roles added by Connections.
re: https://wordpress.org/plugins/s2member/ http://connections-pro.com/support/topic/role-settings-disappear/#post-304801