Ability to edit Membership Levels on user profile requires manage_options cap
-
We’re using the PMPro plugin, and we’ve setup a user role to allow for editing user membership level. However, the membership level editor ui wasn’t present on the user profile editor.
After reviewing the code, and adding manage_options to the custom user role, the membership level editor ui is now visible. However, now this user role has permission for everything w/ the manage_options capability, which is an issue.
The specific plugin file is:
paid-memberships-pro/includes/profile.php$membership_level_capability = apply_filters(“pmpro_edit_member_capability”, “manage_options”);
I’ve not looked over all of the code, but it would appear that the edit_users capability would be better than manage_options.
- The topic ‘Ability to edit Membership Levels on user profile requires manage_options cap’ is closed to new replies.