Releases: strangerstudios/pmpro-roles
Releases · strangerstudios/pmpro-roles
V1.4.2 - 2022-12-12
- ENHANCEMENT: Improved UI for role selection in the edit level settings.
- BUG FIX: Fixed issue where fatal error was being caused when Paid Memberships Pro was deactivated.
V1.4.1
- SECURITY: Escaping and stripping slashes of text.
- ENHANCEMENT: Improve UI and UX of role selection in the level settings page.
- ENHANCEMENT: Improved coding standards and legibility of functions.
- BUG FIX/ENHANCEMENT: Improved handling of default roles in certain cases (i.e. default role was selected).
V1.4
- BUG FIX/ENHANCEMENT: Reworked function that assigns user roles for Paid Memberships Pro V2.5.8+. Fixes an issue with Multiple Memberships Per User and WooCommerce.
- ENHANCEMENT: New filter added 'pmpro_roles_after_role_change'. This allows developers to hook in during the role assignment process and run other code.
V1.3.2
- ENHANCEMENT: Improved logic around changing level and assigning roles.
V1.3.1
- BUG FIX: Fixed issue where accidentally removed administrator role from edit user profile page while plugin is active.
V1.3
- ENHANCEMENT: Added options to level settings area to choose which roles members should receive when purchasing a level.
- ENHANCEMENT: Supports members having multiple roles, and integration for Multiple Memberships Per User Add On.
- ENHANCEMENT: Added localization (translations) and escaped all front-end strings.
- ENHANCEMENT: Improved coding standards and docblocks for all functions.
- ENHANCEMENT: New filter added for when member cancels, allows developers to set a unique user role when a member cancels. Filter: 'pmpro_roles_downgraded_role'
- ENHANCEMENT: New filter added to allow developers to add/remove roles to the membership level settings checkboxes. By default this excludes the admin role. Filter: 'pmpro_roles_downgraded_role'.
- REFACTOR: Reworked the delete_level function. Logic is still the same.
v1.2
- BUG FIX/ENHANCEMENT: Adding the "read" capability to all custom level roles by default. You can filter custom role capabilities using the
pmpro_roles_default_caps
filter. - BUG FIX: Repaired issue where the "Delete Roles and Deactivate" link would show when the plugin was inactive.