Skip to content

Releases: strangerstudios/paid-memberships-pro

2.6.1.1 - 2021-08-25

25 Aug 16:09
559d2b7
Compare
Choose a tag to compare
  • BUG FIX: Fixed issue with PMPro blocks not showing up in the block editor.
  • REFACTOR: Some JS functions and element IDs and names have been prefixed with pmpro_ to avoid conflicts.

2.6.1 - 2021-08-24

24 Aug 14:03
648ecff
Compare
Choose a tag to compare
  • SECURITY: Added capability checks to further tighten security around email template settings. (@ideadude, @sc0ttkclark)
  • SECURITY: Added a pmpro_kses function and using that to sanitize email template bodies and all email bodies before sending. (@ideadude, @sc0ttkclark)
  • ENHANCEMENT: Added Email Templates link to PMPro Dashboard for getting started. #1722 (@kimcoleman)
  • ENHANCEMENT: All actions in the admin list tables are now filterable for Discount Codes (pmpro_discountcodes_row_actions), Membership Levels (pmpro_membershiplevels_row_actions), and Orders (pmpro_orders_user_row_actions). #1686 (@sc0ttkclark, @mircobabini)
  • BUG FIX: Ensure our admin scripts/styles only load on PMPro admin pages. #1724 (@sc0ttkclark)
  • BUG FIX: Remove unused code in pmpro_comments_filter() that was triggering a PHP warning. #1730 (@freax)
  • BUG FIX: Stop turning on autoloading for PMPro options when saving them. #1719 (@freax)
  • BUG FIX: Prevent fatal error for PHP 8 in pmpro_email_templates_email_data() to strictly check for WP_User objects. #1729 (@ZebulanStanphill)
  • BUG FIX: Fix problem where pmpro_round_price() would not take into account currencies with decimals set to 0. #1732 (@dparker1005, @ipokkel, @sc0ttkclark)
  • BUG FIX: Clarify that Stripe Legacy keys remain connected and will continue to work. #1735 (@dparker1005, @sc0ttkclark)

2.6 - 2021-08-12

12 Aug 18:59
Compare
Choose a tag to compare
  • FEATURE: Updated Stripe integration to use Stripe Connect.
  • FEATURE: Improved REST API endpoints to support Zapier integration natively.
  • FEATURE: You can now set levels to expire after a certain number of hours, and can set users to expire at a specific time down to the minute.
  • FEATURE: The Member History Add On has been merged into the core PMPro plugin. A table of the user's membership and order history is shown on the edit user page of the admin dashboard.
  • FEATURE: The Email Templates Add On has been merged into the core PMPro plugin. You can edit PMPro-related email templates from the Memberships -> Settings -> Email Templates page in the admin dashboard.
  • FEATURE: You can now use PMPro blocks in the new widget area of WP 5.8.
  • BUG FIX/ENHANCEMENT: Establishing style for scrollable boxes throughout core plugin.
  • BUG FIX/ENHANCEMENT: Using HTTPS to set the pmpro_visit cookie if over HTTPS. (Thanks, freax on GitHub)
  • BUG FIX: Fixed fatal error in PHP 8 when deleting a Stripe webhook. (Thanks, Zebulan Stanphill)
  • BUG FIX: Fixed warnings shown on the widget page when using WP 5.8+.

2.5.10.2 - 2021-08-02

02 Aug 19:43
Compare
Choose a tag to compare
  • ENHANCEMENT: New scripts to use WP CLI to update pot and po/mo files.
  • BUG FIX/ENHANCEMENT: Updated cancellation logic to support upcoming Cancel on Next Payment Date Add On changes.
  • BUG FIX/ENHANCEMENT: Making sure to use the correct security setting when calling setcookie from an HTTPS site. (Thanks, freax on GitHub)
  • BUG FIX: Now archiving Stripe products after checkout. We create a unique product for each checkout, and these would clutter up the Stripe reports.
  • BUG FIX: Fixing data erasure and data export request action for login page.
  • BUG FIX: Fixed issue where PMPro settings on Elementor elements could override the "should_render" setting incorrectly. (Thanks, codezz on GitHub)
  • BUG FIX: Now catching the case where you try to email an invoice for an order that has no user.

2.5.10.1 - 2021-07-05

05 Jul 19:23
Compare
Choose a tag to compare
  • BUG FIX/ENHANCEMENT: The 'Edit Code: %s' string on the discount codes page is now wrapped for translation.
  • BUG FIX: Fixed issue with the getfile.php script introduced in 2.5.10.

2.5.10 - 2021-06-21

25 Jun 16:53
Compare
Choose a tag to compare
  • SECURITY: Fixed XSS vulnerability on the edit order page in the dashboard. (Thanks, Scott Kingsley Clark)
  • ENHANCEMENT: Improved escaping and localization for the message returned when clicking to apply discount code.
  • ENHANCEMENT: Now hiding gateway setting API keys behind asterisks.
  • BUG FIX/ENHANCEMENT: Now passing a CARDONFILE parameter with PayPal Payflow payment and subscription transactions.
  • BUG FIX/ENHANCEMENT: Using the wp.passwordStrength.userInputDisallowedList function from WP 4.5 if available.
  • BUG FIX: Fixed issue in getfile script where parameters in the URL would cause File not found errors.
  • BUG FIX: Fixed how the PayPal IPN handler handles cases where a subscription is set up correctly but the initial payment failed. We now correctly cancel these users and mark their order as error.
  • BUG FIX: Improved error handling in the PayPal Express integration, particularly when a subscriptions PROFILESTATUS is missing.
  • BUG FIX: User registered date is now shown in local time.
  • BUG FIX: Fixed issue where the deprecated pmpro_getClassForField function wasn't returning a value properly. (Thanks, Elena Draculet)
  • BUG FIX: Updated the pmpro_sort_levels_by_order function to use level IDs for keys, since some code expects that for level arrays. This matches the behavior we had before introducing this function.
  • BUG FIX: Updated the pmpro_changeMembershipLevel function always set the order status to error if that was passed in as the "old level status".
  • BUG FIX: Fixed warning in searches/pages when PMPro pages is not set.
  • BUG FIX: Fixed warnings being generated when using PHP 8 and Divi
  • BUG FIX: Fixed warnings related to PayPal Express session variables.

v2.5.9.1

12 May 12:50
Compare
Choose a tag to compare

BUG FIX/ENHANCEMENT: Updated pmpro_changeMembershipLevel() to return null if the user's level is not changed. For the past 2 vesions, we've been returning true in these cases, which caused PMPro to send emails to the admin when the edit use page was saved, even if there was no level change. This change has been backported to versions 2.5.8 and 2.5.9.

v2.5.9

06 May 00:16
Compare
Choose a tag to compare
  • ENHANCEMENT: Adjusting style for prices and price parts shown on the frontend.
  • ENHANCEMENT: Adjusting HTML for links in the Orders table in the dashboard.
  • BUG FIX: Reverted the change to the pmpro_is_checkout() function. Since we default to the first available level, calling pmpro_getLevelForCheckout() was causing pmpro_is_checkout to return true on ALL pages. This disrupted a lot of functionality.
  • BUG FIX: Fixed warnings in the pmpro_getLevelAtCheckout() function.
  • BUG FIX: Fixed issue where "All Time Sales" was showing up as 0, even when there were sales.

v2.5.8

01 May 01:45
Compare
Choose a tag to compare
  • ENHANCEMENT: Added pmpro_membership_content_filter filter to let other plugins change how PMPro filters member content.
  • ENHANCEMENT: Improved de_DE email template translation. (Thanks, biker238 on GitHub)
  • ENHANCEMENT: Added pmpro_change_level filter.
  • ENHANCEMENT: Improved display of prices on invoices and added pmpro_display_price_parts function and filters so plugins like the upcoming AvaTax add on can add subtotals to the price displays.
  • ENHANCEMENT: Added a pmpro_after_all_membesrhip_level_changes hook that fires at the end of the page load and can be used to process all membership changes in bulk.
  • ENHANCEMENT: The "User" column on the orders page now shows the username and email.
  • ENHANCEMENT: Added a pmpro_stripe_create_subscription_array filter. (Thanks, ermGit on GitHub)
  • BUG FIX/ENHANCEMENT: pmpro_change_level returns true now if the function is called to change a user’s level to one they already have.
  • BUG FIX/ENHANCEMENT: No longer calling $order->updateTimestamp() on orders adminpage.
  • BUG FIX/ENHANCEMENT: Updated conditional to check ‘street’ instead of ‘name’ when displaying billing address on Invoice/Confirmation.
  • BUG FIX/ENHANCEMENT: Improved localization and added missing strings to translation.
  • BUG FIX/ENHANCEMENT: Updated to use `get_user_locale1 to load localization.
  • BUG FIX/ENHANCEMENT: Now Preserving existing values for post__not_in and category__not_in when filtering search and archive queries.
  • BUG FIX/ENHANCEMENT: Fixed sorting of the Membership Level column on the Users List table in the WP admin dashboard.
  • BUG FIX/ENHANCEMENT: Added a pmpro_sort_levels_by_order function and using it in various places to make sure levels are listed in the order they are in on the PMPro settings page.
  • BUG FIX/ENHANCEMENT: Added an extra check in the pmpro_is_checkout function that helps with issues that were coming up in some add ons.
  • BUG FIX/ENHANCEMENT: The level cache now takes into account the $include_active parameter.
  • BUG FIX/ENHANCEMENT: The CSS class is now properly added to the body tag when a PMPro page block is used on a page.
  • BUG FIX/EHNANCEMENT: Better timezone handling in sales reports.
  • BUG FIX/ENHANCEMENT: Fixed a few places where we might think a free order was paid if using a currency with more or less than 2 decimal places.
  • BUG FIX: Fixed deprecated jQuery functions in pmpro-admin.js.
  • BUG FIX: Fixed warning for a missing/deleted level in the pmpro_post_classes function.
  • BUG FIX: Default pmpro_longform_address to true on Billing Information page.
  • BUG FIX: Fixed pmpro_twocheckout_validate filter.
  • BUG FIX: Fixed variables passed to the pmpro_discount_code_used filter.
  • BUG FIX: CZK currency should have 2 decimals.
  • BUG FIX: Avoiding a redirect loop if the login page is deleted. (Thanks, George Stephanis)
  • BUG FIX: Fixed the password reset link in new user notification email when not using pretty permalinks.
  • BUG FIX: Fixed issues with password reset URLs on multisite networks.
  • BUG FIX: Fixed the issue where sales weren't showing up on report charts sometimes on the 31st of the month.

v2.5.7

10 Mar 21:22
Compare
Choose a tag to compare
  • ENHANCEMENT: Added a pmpro_checkout_message filter that can be used to filter error messages shown at checkout.
  • BUG FIX/ENHANCEMENT: Now making sure some billing address fields are available for the billing failure emails sent during the PayPal IPN handler.
  • BUG FIX/ENHANCEMENT: Fixed issues where HTML entities were shown in level prices in some places when using certain currencies. All prices are sent through a special pmpro_escape_price function that allows div, span, and sup tags with id and class attributes. Also removed from unneeded small tags and grey coloring of prices in certain spots.
  • BUG FIX: Now cancelling membership when a SUBSCRIPTION_CANCELED message is sent to the Braintree webhook handler. In the past, we incorrectly sent the payment failed email instead.
  • BUG FIX: Fixed display issues with the Require Membership block. The level select field has been swapped with a list of checkboxes.
  • BUG FIX: Fixed warnings that occurred when processing failed payments in webhook and IPN handlers.
  • BUG FIX: Fixed our Braintree class so we will only attempt to update a user's credit card and address when the getCustomer method is called at checkout or during a billing update.
  • BUG FIX: Fixed issue where refreshing the checkout review page when using PayPal Express caused the associated order to be updated again. Now the order status is updated to review and only updates again when the user confirms.
  • BUG FIX: Avoiding warnings when the pmpro_url function is used if the PMPro pages haven't been set up yet. (Thanks, Thomas Sjolshagen)
  • REFACTOR: Updated the pmpro_getSpecificMembershipLevelForUser( $user_id, $level_id ) function so both fields are required. Will still default to the current user if null is passed for the $user_id.