Skip to content

Releases: strangerstudios/pmpro-approvals

V1.5.1 - 2023-11-30

29 Nov 12:06
Compare
Choose a tag to compare
  • 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

07 Oct 08:07
Compare
Choose a tag to compare
  • 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

19 Jul 06:55
Compare
Choose a tag to compare
  • ENHANCEMENT: Added Approval level template and support for PMPro v2.9+ settings UI. (Thanks @kimcoleman)

V1.4.2

21 Feb 10:09
fb7640d
Compare
Choose a tag to compare
  • ENHANCEMENT: Capture username of admin/person who reset approval status of a user when logging this action. (@ideadude)
  • BUG FIX: Fix issue in some cases where 'pmproap_user_is_approved' filter would not run when filtering via code snippets. (@ideadude)

V.1.4.1

22 Sep 13:30
fb7640d
Compare
Choose a tag to compare
  • 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

09 Apr 12:13
985d4ec
Compare
Choose a tag to compare
  • 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 returning true 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

14 Nov 09:58
ae18fcd
Compare
Choose a tag to compare
  • 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.

v1.3.3

31 Oct 17:45
Compare
Choose a tag to compare
  • BUG FIX: Fixed issues with PMPro Member Directory integration if your DB prefix was not wp_. (Thanks, Ciprian Tepes)
  • ENHANCEMENT: Added pmpro_approvals_level_requires_approval to filter the result of the PMPro_Approvals::requiresApproval() method.

V1.3.2

21 Aug 09:01
3f2d1a5
Compare
Choose a tag to compare
  • Bug Fix: get_current_screen was undefined in some cases. Added in checks to avoid fatal errors.

V1.3.1

12 Aug 12:22
345569a
Compare
Choose a tag to compare
  • BUG FIX: User approval status was not showing in the members list.
  • BUG FIX: Edit user page was not showing custom fields from Register Helper.
  • BUG FIX: Approval links not showing under members list and was hidden completely.