Skip to content

Releases: strangerstudios/pmpro-set-expiration-dates

0.8 - 2026-03-30

30 Mar 12:06

Choose a tag to compare

  • BUG FIX: Fixed an issue where the expiration date was not being correctly set when using a discount code with a set expiration date. (@dwanjuki)
  • BUG FIX: Corrected expiration date calculation for future-based rules. For example, "Y2-M1-01" now correctly resolves to "next year – current month – 01". Previously, it incorrectly advanced both the month and year (next month, next year). (@andrewlimaza)

0.7 - 2024-04-24

24 Apr 12:21

Choose a tag to compare

  • ENHANCEMENT: Support Paystack and Payfast payment gateways.
  • ENHANCEMENT: Applied WordPress Coding Standards to code (improves readability).
  • ENHANCEMENT: Improved support to show the expiration date when a discount code is applied.
  • ENHANCEMENT: Moved Set Expiration Date settings to Expiration Date tab in the Membership Level settings.
  • BUG FIX: Fixed an issue in some cases where the expiration date was losing a day.

v0.6.1

19 Jan 22:31

Choose a tag to compare

  • BUG FIX: Fixed issue where expiration dates might not apply accurately when using PayPal Standard.

V0.6

18 Sep 12:21

Choose a tag to compare

  • SECURITY: Escaped text on output.
  • BUG FIX: Fixed a warning if the level's expiration date was not set at checkout.
  • BUG FIX/ENHANCEMENT: Added a wrapper function for the pmpro_ipnhandler_level hook to ensure correct arguments are passed into this hook. Thanks @aquiferweb.
  • ENHANCEMENT: Stopped autoloading set expiration date option. This should improve performance for sites that have a lot of membership levels with a set expiration date.
  • ENHANCEMENT: Added in "Set Expiration Date" to level's table in the admin area to easily see which levels have these options set.
  • ENHANCEMENT: Show a warning inside the admin area, if a level has a past date set.
  • ENHANCEMENT: Allow localization/translations. Thanks to @skotperez for the French translation files.
  • ENHANCEMENT: Rebuilt logic around calculating date, supports multi-digit placeholders.
  • ENHANCEMENT: Added new filters to allow developers to dynamically adjust dates: 'pmprosed_expiration_date_raw' and 'pmprosed_expiration_date'.

v.5.1

27 Jul 16:53

Choose a tag to compare

  • BUG FIX: Fixed issue where expiration dates like 2019-07-29 would be converted to 2019-07-31 when used.