Black Friday: 30% OFF em todos os planos, já aplicado no carrinho Ver planos
Entrar Carrinho

Paid Memberships Pro Proration Changelog

Todas as versões registradas, da mais nova para a mais antiga, com o que mudou em cada uma.

Última 1.0.5 · 29 set 20266 versõesDesde mar 2024

2026 · 3 versões

  1. 1.0.5

    Última
    1 de segurança
    Segurança
    • Improved sanitization and escaping throughout the plugin to resolve Plugin Check security findings. #41 (@dparker1005)
  2. 1.0.4

    2 correções
    Corrigido
    • Fixed an issue where proration could credit a user for a recurring payment they had not actually paid when their subscription was past due on PMPro v3.6 or later. The Add On now skips proration entirely for past-due subscriptions and lets the checkout proceed at full price. #40 (@dparker1005)
    • Fixed an issue where a delayed downgrade could be processed prematurely when a recurring payment failed on PMPro v3.6 or later. Delayed downgrades now process when the subscription's next recurring payment is successfully collected (`pmpro_subscription_payment_completed`) instead of when an order is created (`pmpro_added_order`). #40 (@dparker1005)
  3. 1.0.3

    1 melhoria1 correção
    Melhoria
    • Updated all 5 delayed-downgrade email templates to use the new Liquid `{{ variable }}` syntax when running PMPro 3.7 or later, while still falling back to the legacy `!!variable!!` syntax on older versions of PMPro. Default email bodies now use the same `wp_kses_post( __( ... ) )` pattern as PMPro core. #36 (@dparker1005)
    Corrigido
    • Fixed an issue where the delayed downgrade level could be incorrectly recorded as the level being downgraded from (instead of the level being downgraded to) on Stripe onsite checkouts when the Affiliates Add On was active. #37 (@dwanjuki)

2025 · 2 versões

  1. 1.0.2

    1 melhoria1 correção
    Melhoria
    • Now showing the correct email template variables when editing "delayed downgrade" email templates. #32 (@MaximilianoRicoTabo)
    Corrigido
    • Fixed broken order links on the "Delayed Downgrades" member edit panels when using PMPro v3.6+. #34 (@dparker1005)
  2. 1.0.1

    3 correções
    Corrigido
    • BUG FIX/ENHANCEMENT: Now setting profile start dates directly on level objects for sites running PMPro v3.4+ to avoid conflicts with custom code. #29 (@dparker1005)
    • Fixed the `!!edit_member_downgrade_url!!` email template variable generating an incorrect URL. #27 (@dwanjuki)
    • Fixed incorrect text domains for localized strings. #31 (@andrewlimaza)

2024 · 1 versão

  1. 1.0

    1 novo8 melhorias14 correções1 removido4 alterações
    Novo
    • Now fully supporting delayed downgrades for PMPro v3.0+. #24 (@dparker1005)
    Melhoria
    • Improved proration accurancy by using the subscriptions table in PMPro v3.0+ to calculate the prorated amount. #24 (@dparker1005)
    • Added localization support. (@dparker1005)
    • Moved code into separate files for clarity. #23 (@dparker1005)
    • WordPress code style
    • Wrap database queries in $wpdb->prepare
    • Use date_i18n consistently
    • Use wpdb->update in place of raw SQL
    • Make translation ready
    Corrigido
    • BUG FIX/ENHANCEMENT: Now showing prorated level cost after applying a discount code. #4 (@TravisHardman)
    • BUG FIX/ENHANCEMENT: Improving the accuracy of the `pmprorate_isDowngrade` and `pmprorate_have_same_payment_period` functions. #21 (@dparker1005)
    • BUG FIX/ENHANCEMENT: When using PMPro v3.0+, prorations now only happen between levels in the same "one level per user" level group. #24 (@dparker1005)
    • Fixed issue where users would not keep their old membership level when downgrading. #14 (@dparker1005)
    • Fixed issue where users could be charged more than the original level cost if checking out for a level with a different billing period and previous recurring orders are missing. #11 (@dparker1005)
    • Fixed issue where users could receive a free initial payment if upgrading to a level with the same billing period and previous recurring orders are missing. #11 (@dparker1005)
    • Fixed issue where subscriptions purchased during a downgrade would charge 1 payment period from the downgrade. Instead, the first recurring payment is now charged on the "next payment date" for the old subscription. (@ideadude)
    • Added a check to the filter of pmpro_checkout_level to bail if no level.
    • BUG FIX/ENHANCEMENT: Now using the subtotal (pretax amount) when calculating credits for prorating.
    • BUG FIX/ENHANCEMENT: Added pmprorate_trim_timestamp function and using it so proration calculations are more consistent day to day.
    • BUG FIX/ENHANCEMENT: Remove unneeded quotes for startdate in pmpro_checkout_start_date filter
    • BUG FIX/ENHANCEMENT: Added pmprorate_have_same_payment_period function and using it when deciding which proration option to use.
    • BUG FIX/ENHANCEMENT: The logic for how the profile start date is adjusted has been changed when checking out for a level with a different pay period. In these cases, the start date is not adjusted. By default, the new subscription starts after one pay period (based on the new level the user is checking out for).
    • Fixed issue where the existing subscription date was not being used.
    Removido
    • Deprecated old functions that are not called. #22 (@dparker1005)
    Alterações
    • = .3.1 =
    • IMPORTANT NOTE: The logic and math for prorating has been updated. See the changelog below and our blog post here
    • Downgrade function updated to assume level order based on initial payments. Be sure to edit this to your needs.
    • First version.

Changelog publicado pelo desenvolvedor, no idioma original.