From 1ec92fb5565b5c22af0255dffd2a22dd8f94ec1c Mon Sep 17 00:00:00 2001 From: David Parker Date: Wed, 8 May 2024 13:01:45 -0400 Subject: [PATCH] Changelog and version numbers --- CHANGELOG.txt | 13 +++++++++++++ classes/gateways/class.pmprogateway_stripe.php | 8 ++++---- package.json | 2 +- paid-memberships-pro.php | 4 ++-- readme.txt | 15 ++++++++++++++- 5 files changed, 34 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 8f212fdf3..ece54dfb3 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,4 +1,17 @@ == Changelog == += 3.0.4 - 2024-05-08 = +* ENHANCEMENT: Now detecting whether a webhook is set up in Stripe and, if not, showing a button to set one up. Webhooks are also automatically set up after the Stripe Connect flow is created. #2976 (@dparker1005) +* ENHANCEMENT: Added a `group` attribute to the `[pmpro_member]` shortcode to show specific member information in the context of a level group. #2966 (@kimcoleman) +* ENHANCEMENT: Added a new "gateway" column to the Orders tab of the Edit Member page. #2970 (@andrewlimaza) +* ENHANCEMENT: Added a new "gateway" column to the Subscriptions tab of the Edit Member page. #2979 (@andrewlimaza) +* ENHANCEMENT: Adjusted the hierarchy and names for PMPro pages generated as part of the initial plugin setup. #2967 (@kimcoleman) +* ENHANCEMENT: Added the ID for each group to the `Memberships > Settings > Levels` settings page. #2978 (@andrewlimaza) +* BUG FIX/ENHANCEMENT: Updated the `+ New > Member` admin bar menu item to be visible to any user with the `edit_users` capability. #2968 (@kimcoleman) +* BUG FIX: Fixed an issue where the login redirect may incorrectly redirect back to the login page. #2971 (@andrewlimaza) +* BUG FIX: Fixed an issue where purchasing a recurring membership with PayPal Express for a level that the user already had would immediately cancel the new payment subscription. #2972 (@dparker1005) +* BUG FIX: Fixed PHP deprecation warnings on the User Fields settings page for some versions of PHP. #2975 (@dparker1005) +* DEPRECATED: No longer showing the "Register a webhook" popup after connecting to Stripe since this process is now automated. #2976 (@dparker1005) + = 3.0.3 - 2024-04-18 = * ENHANCEMENT: No longer making API calls to pull subscription data from Stripe or PayPal Express when we do not have gateway credentials. #2956 (@mircobabini) * ENHANCEMENT: Added new filters `pmpro_subscription_gateway_object` and `pmpro_order_gateway_object` to allow developers to modify gateway objects before they are used. #2962 (@mircobabini) diff --git a/classes/gateways/class.pmprogateway_stripe.php b/classes/gateways/class.pmprogateway_stripe.php index 06a15e103..f108b6147 100644 --- a/classes/gateways/class.pmprogateway_stripe.php +++ b/classes/gateways/class.pmprogateway_stripe.php @@ -1270,12 +1270,12 @@ public static function stripe_connect_deauthorize() { * If the checkout flow has changed to Stripe Checkout, remember to show a banner to set up webhooks. * * @since 2.12 - * @deprecated TBD + * @deprecated 3.0.4 * * @param string $old_value The old value of the option. */ public static function update_option_pmpro_stripe_payment_flow( $old_value ) { - _deprecated_function( __FUNCTION__, 'TBD' ); + _deprecated_function( __FUNCTION__, '3.0.4' ); global $pmpro_stripe_old_payment_flow; $pmpro_stripe_old_payment_flow = empty( $old_value ) ? 'onsite' : $old_value; } @@ -1284,10 +1284,10 @@ public static function update_option_pmpro_stripe_payment_flow( $old_value ) { * Show a modal to the user after connecting to Stripe or switching to Stripe Checkout. * * @since 2.12 - * @deprecated TBD + * @deprecated 3.0.4 */ public static function show_set_up_webhooks_popup() { - _deprecated_function( __FUNCTION__, 'TBD' ); + _deprecated_function( __FUNCTION__, '3.0.4' ); global $pmpro_stripe_old_payment_flow; diff --git a/package.json b/package.json index b41a759da..900b53f2b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "paid-memberships-pro", - "version": "3.0.3", + "version": "3.0.4", "description": "WordPress Membership Plugin", "directories": { "test": "tests" diff --git a/paid-memberships-pro.php b/paid-memberships-pro.php index 506f8cead..336179ced 100644 --- a/paid-memberships-pro.php +++ b/paid-memberships-pro.php @@ -3,7 +3,7 @@ * Plugin Name: Paid Memberships Pro * Plugin URI: https://www.paidmembershipspro.com * Description: The most complete member management and membership subscriptions plugin for WordPress. - * Version: 3.0.3 + * Version: 3.0.4 * Author: Paid Memberships Pro * Author URI: https://www.paidmembershipspro.com * Text Domain: paid-memberships-pro @@ -16,7 +16,7 @@ */ // version constant -define( 'PMPRO_VERSION', '3.0.3' ); +define( 'PMPRO_VERSION', '3.0.4' ); define( 'PMPRO_USER_AGENT', 'Paid Memberships Pro v' . PMPRO_VERSION . '; ' . site_url() ); define( 'PMPRO_MIN_PHP_VERSION', '5.6' ); diff --git a/readme.txt b/readme.txt index ddd41dc6f..280794bdf 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Tags: memberships, member, community, user profile, user registration Requires at least: 5.2 Tested up to: 6.5 Requires PHP: 5.6 -Stable tag: 3.0.3 +Stable tag: 3.0.4 Build a membership site that grows with you: user registration, member profiles, 28 protected content types, free or paid subscriptions. @@ -214,6 +214,19 @@ Not sure? You can find out by doing a bit a research. 10. Advanced settings for updating non-member messages, optionally show excerpts or filter content, use reCAPTCHA, and a Terms of Service checkbox. == Changelog == += 3.0.4 - 2024-05-08 = +* ENHANCEMENT: Now detecting whether a webhook is set up in Stripe and, if not, showing a button to set one up. Webhooks are also automatically set up after the Stripe Connect flow is created. #2976 (@dparker1005) +* ENHANCEMENT: Added a `group` attribute to the `[pmpro_member]` shortcode to show specific member information in the context of a level group. #2966 (@kimcoleman) +* ENHANCEMENT: Added a new "gateway" column to the Orders tab of the Edit Member page. #2970 (@andrewlimaza) +* ENHANCEMENT: Added a new "gateway" column to the Subscriptions tab of the Edit Member page. #2979 (@andrewlimaza) +* ENHANCEMENT: Adjusted the hierarchy and names for PMPro pages generated as part of the initial plugin setup. #2967 (@kimcoleman) +* ENHANCEMENT: Added the ID for each group to the `Memberships > Settings > Levels` settings page. #2978 (@andrewlimaza) +* BUG FIX/ENHANCEMENT: Updated the `+ New > Member` admin bar menu item to be visible to any user with the `edit_users` capability. #2968 (@kimcoleman) +* BUG FIX: Fixed an issue where the login redirect may incorrectly redirect back to the login page. #2971 (@andrewlimaza) +* BUG FIX: Fixed an issue where purchasing a recurring membership with PayPal Express for a level that the user already had would immediately cancel the new payment subscription. #2972 (@dparker1005) +* BUG FIX: Fixed PHP deprecation warnings on the User Fields settings page for some versions of PHP. #2975 (@dparker1005) +* DEPRECATED: No longer showing the "Register a webhook" popup after connecting to Stripe since this process is now automated. #2976 (@dparker1005) + = 3.0.3 - 2024-04-18 = * ENHANCEMENT: No longer making API calls to pull subscription data from Stripe or PayPal Express when we do not have gateway credentials. #2956 (@mircobabini) * ENHANCEMENT: Added new filters `pmpro_subscription_gateway_object` and `pmpro_order_gateway_object` to allow developers to modify gateway objects before they are used. #2962 (@mircobabini)