PMPro v2.5.4 is out with a handful of enhancements and bug fixes. Some of these bugs have the potential to hinder sales, so be sure to upgrade. This update fixes an issue introduced to our reCAPTCHA v2 code in v2.5.3. We have backported a fix for this bug, but anyone who upgraded to v2.5.3 already but doesn’t want to upgrade to v2.5.4 yet, can manually patch this issue by making the change here.


How to Update to PMPro v2.5.4

Please update Paid Memberships Pro from the plugins page of your WordPress dashboard. You can also get the latest version of PMPro here or version 2.5.4 specifically here.


The full list of updates is below.

  • ENHANCEMENT: Bump license year 2021 – 10 years.
  • ENHANCEMENT: Now passing billing street in pmpro_tax filter.
  • ENHANCEMENT: Prefixed our pmpro_stripeResponseHandler function to avoid conflicts.
  • ENHANCEMENT: Added getRealPaymentTransactionId method to PayPal Express gateway class to recover a missing transaction ID.
  • ENHANCEMENT: Added pmpro_checkout_before_form action to hook anything before the membership checkout form.
  • ENHANCEMENT: Added avatar as a valid field type for the shortcode.
  • ENHANCEMENT: Changed license key field to text type and unmasked. Masking implied the key was hashed before saving which is not true.
  • ENHANCEMENT: Addedpmpro_discount_code_used action hook for when a discount code is used.
  • ENHANCEMENT: Stripe will now pull billing address info for recurring orders from webhooks.
  • BUG FIX/ENHANCEMENT: Improved user interface, error handling, and messages in the frontend password reset process.
  • BUG FIX/ENHANCEMENT: Added a space between state and zip code in billing info.
  • BUG FIX/ENHANCEMENT: Now rounding amount sent with Stripe payment request button.
  • BUG FIX/ENHANCEMENT: Improved pmpro_check_plugin_version function to also check a specific value of the get_plugin_data array.
  • BUG FIX/ENHANCEMENT: Added pmpro_membership_levelmeta and pmpro_membership_ordermeta tables to uninstall process.
  • BUG FIX/ENHANCEMENT: Escaped things in SQL queries in 2Checkout INS service handler.
  • BUG FIX/ENHANCEMENT: Cleaned up levels page template and added MMPU compatibility.
  • BUG FIX/ENHANCEMENT: Fixed pagination and export issues with a discount code filter on the Orders admin page.
  • BUG FIX/ENHANCEMENT: Prefixed our pmpro_stripeResponseHandler function to avoid conflicts with other Stripe code that may not be prefixed.
  • BUG FIX/ENHANCEMENT: Cleaned up conditionals and escaping improvements in the pmpro_redirect_to_logged_in function.
  • BUG FIX/ENHANCEMENT: Fixed deprecation notices for sites running PHP 8.
  • BUG FIX/ENHANCEMENT: Improved SQL query format in the applydiscountcode service.
  • BUG FIX: Fixed issues with ReCAPTCHA v2 and certain gateways.
  • BUG FIX: Fixed bug where blog name was not showing in Admin Activity email.
  • BUG FIX: Improved incorrect PHP doc blocks.
  • BUG FIX: Fixed an issue on some sites where password reset link in email was incorrect.
  • BUG FIX: Fixed level change issues during 2Checkout checkout.
  • BUG FIX: Fixed issue where checkout_levels REST API endpoint could return the wrong initial payment
  • BUG FIX: Fixed undefined notice for timestamp variable in the Stripe gateway class.
  • BUG FIX: Avoiding warnings when user ids are in the memberships_users table, but a user doesn’t exist.
  • BUG FIX: Now setting the correct value for membership_id in the admin change emails.
Tagged . Bookmark the . Last updated: . Titled