Releases: strangerstudios/pmpro-set-expiration-dates
Releases · strangerstudios/pmpro-set-expiration-dates
0.8 - 2026-03-30
- 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
- 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
V0.6
- 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'.