Releases: strangerstudios/pmpro-approvals
Releases · strangerstudios/pmpro-approvals
1.6.1 - 2024-09-19
- BUG FIX/ENHANCEMENT: Fixes conflict with Pay By Check if user fields are restricted by level. #190 (@dparker1005)
- BUG FIX: Fixed PHP warnings when the admin email address is not associated with a WordPress account. #188 (@dwanjuki)
1.6 - 2024-07-18
- ENHANCEMENT: Updated the frontend UI for compatibility with PMPro v3.1. #186 (@dparker1005)
- ENHANCEMENT: Added a new filter
pmpro_approvals_show_level_confirmation_message
to allow showing the level confirmation message within the approval confirmation message. #183 (@andrewlimaza)
V1.5.1 - 2023-11-30
- BUG FIX/ENHANCEMENT: Added support for User Fields instead of Register Helper Fields when previewing the pending member information. Please upgrade any Register Helper code to use the User Fields logic or class.
- REFACTOR: Refactored pmpro_getOption functions to use get_option instead.
v1.5 - 2022-10-07
- ENHANCEMENT: Added support for Multiple Memberships Per User, allowing individual approval for each level ID a user may hold.
- ENHANCEMENT: Improved logic for the Approval Counter to increase accuracy.
- ENHANCEMENT: Added support for member directory filtering within the PMPro BuddyPress & BuddyBoss Add On.
- BUG FIX: Fixed an issue where free checkouts would cause a warning that level ID's are missing on the confirmation page.
1.4.3 - 2022-07-19
- ENHANCEMENT: Added Approval level template and support for PMPro v2.9+ settings UI. (Thanks @kimcoleman)
V1.4.2
V.1.4.1
- ENHANCEMENT: Added $level parameter to the 'pmpro_approvals_member_denied_email_data' filter.
- BUG FIX: Fixed an issue where pending members were automatically approved when checking out for the same level multiple times.
- BUG FIX: Fixed an issue where Register Helper Fields that show up for certain levels would cause other custom fields to be hidden from the view info of the Approvals page.
- BUG FIX: Fixed issues where approved members would see content for non-members shortcode - [membership level="0"].
V1.4
- SECURITY: General escaping and sanitizing when outputting data on the user's approvals information page.
- ENHANCEMENT: Added translation file for German locale.
- ENHANCEMENT: Added in filter 'pmpro_approvals_approval_count_sql_parts' and 'pmpro_approvals_approval_count_sql' to make SQL query (when counting pending users) easier to manipulate.
- ENHANCEMENT: Added in filter 'pmpro_approvals_pending_approvals_sql_parts' and 'pmpro_approvals_pending_approvals_sql' to make SQL query (for retrieving pending users) easier to manipulate.
- ENHANCEMENT: Added in filter 'pmpro_approvals_level_restrict_checkout' to allow bypassing of checkout restriction. Thanks @edwinbsmith
- ENHANCEMENT: Improved coding readability and variable naming.
- ENHANCEMENT: Make links clickable when custom fields are added to the user's profile and previewing approval information. Note: the stored value requires http:// or https:// to make it clickable.
- ENHANCEMENT: Integrate with Pay By Check. When a user is approved, approve their pending check order. Has to be enabled by using the filter
pmpro_approvals_pbc_success_on_approval
and returningtrue
to enable it. - BUG FIX/ENHANCEMENT: Clear pending approval data if the user changes their level or cancels before being approved or denied.
- BUG FIX: Allow pending/non-approved members to cancel their membership level on the frontend.
- BUG FIX: Fixes an issue for [membership] shortcode that didn't pass levels attribute and pending members used to gain access to restricted content.
- BUG FIX: Fixed an issue where refreshing the approvals page may resend the approval email - this now only gets sent once.
- BUG FIX: Fixed an issue where multiple fields belonging to different levels with the same name would show up twice on the view info page of the approvals. This now supports the 'level' attribute inside Register Helper when displaying fields.
- BUG FIX: Fixed general issues when Paid Memberships Pro was not active.
- BUG FIX: Fixed warnings of missing variables when approval emails were sent.
- BUG FIX: Fixed an issue where an undefined variable was used inside the approval's list within the WordPress admin.
- BUG FIX: Fixed general warnings when a level does not require payment.
- BUG FIX: Support Pay By Check confirmation message/instructions when a level uses both Pay By Check and requires approval.
- BUG FIX: Fixing a notice for check payment instructions confirmation message text when approval level is free.
V1.3.4
- BUG FIX: get_current_screen returning null in some cases. Added in checks for this.
- ENHANCEMENT: Improved speed for SQL query that returns the unassigned count number in the WordPress admin area.