diff --git a/CHANGELOG.txt b/CHANGELOG.txt index ee49cd9cb..d80ad4806 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,4 +1,31 @@ == Changelog == += 3.0.2 - 2024-04-11 = +* ENHANCEMENT: Added settings to disable custom page templates when they are out of date. #2923 (@dparker1005, @kimcoleman) +* ENHANCEMENT: Now defaulting the "View: My Access" setting to "View with my access". #2938 (@andrewlimaza) +* ENHANCEMENT: Added a new filter `pmpro_show_setup_wizard_link` to adjust whether the link to the setup wizard should show. #2372 (@andrewlimaza) +* ENHANCEMENT: Added level group information to site health. #2931 (@dparker1005) +* ENHANCEMENT: Improved how custom page templates are displayed in site health. #2923 (@dparker1005) +* BUG FIX/ENHANCEMENT: Added a nonce when updating the order of level groups. #2930 (@dparker1005) +* BUG FIX/ENHANCEMENT: No longer removing quotes from discount code error messages at checkout. #2935 (@MaximilianoRicoTabo) +* BUG FIX/ENHANCEMENT: Now supporting users without a role on the Edit Member page. #2942 (@dparker1005) +* BUG FIX/ENHANCEMENT: Updated some JS code used while processing PMPro form submissions to only run for PMPro forms. #2779 (@MaximilianoRicoTabo) +* BUG FIX/ENHANCEMENT: Made the "discount code applied to your order" strings consistent for localization. #2941 (@dparker1005, @mircobabini) +* BUG FIX/ENHANCEMENT: Now including email template variables for the level ID and level name on the billable invoice email template. #2947 (@MaximilianoRicoTabo) +* BUG FIX/ENHANCEMENT: Now only showing log-in errors if the user was not successfully logged in. #2949 (@dparker1005) +* BUG FIX: Fixed a fatal error when editing a level group on some versions of PHP. #2933 (@MaximilianoRicoTabo) +* BUG FIX: Fixed an issue where subscription creation would fail when using PayPal Express in Sandbox mode. #2944 (@dparker1005) +* BUG FIX: Fixed an issue where discount codes with unsupported billing details would not be highlighted on the Discount Codes list. #2928 (@MaximilianoRicoTabo) +* BUG FIX: Fixed an issue where using the MemberOrder::get_orders() method may incorrectly return an empty array when filtering by `discount_code_id`. #2929 (@dparker1005) +* BUG FIX: Fixed an issue where a month would always be considered 30 days when renewing a level with an expiration date. #2945 (@dparker1005, @fisher2470) +* BUG FIX: Adding back the `pmpro_deactivate_old_levels` filter that was removed in 3.0. #2946 (@dparker1005) +* BUG FIX: Fixed an issue where the Members List CSV Export could generate incorrect data when it was not ordered by user ID. #2811 (@rollsappletree) +* BUG FIX: Fixed a PHP warning when passing null to strtolower(). #2926 (@MaximilianoRicoTabo) +* BUG FIX: Fixed a PHP warning when passing null to esc_url(). #2939 (@dparker1005) +* BUG FIX: Fixed PHP deprecation warnings by declaring properties in the PMPro_Discount_Code class. #2936 (@MaximilianoRicoTabo) +* BUG FIX: Fixed PHP deprecation warnings by declaring properties in the PMProEmail class. #2934 (@MaximilianoRicoTabo) +* BUG FIX: Fixed some HTML tags that were being incorrectly escaped in the Admin Activity email. #2948 (@dparker1005) +* REFACTOR: Fixed some typos throughout the codebase. #2777, #2950, #2951 (@mircobabini) + = 3.0.1 - 2024-03-27 = * ENHANCEMENT: Improved the admin UI on mobile devices. #2913 (@kimcoleman) * ENHANCEMENT: Now hiding save messages when switching tabs on the edit member page. #2910 (@dparker1005) diff --git a/classes/class-pmpro-discount-code-list-table.php b/classes/class-pmpro-discount-code-list-table.php index 7774823f2..7c61751e0 100644 --- a/classes/class-pmpro-discount-code-list-table.php +++ b/classes/class-pmpro-discount-code-list-table.php @@ -567,7 +567,7 @@ public function column_levels( $item ) { * * @param StdClass $item The current row item. * @return void - * @since TBD + * @since 3.0.2 */ public function single_row( $item ) { $cssClass = ( ! pmpro_check_discount_code_for_gateway_compatibility( $item ) ) ? 'pmpro_error' : ''; diff --git a/classes/class-pmpro-site-health.php b/classes/class-pmpro-site-health.php index 225b2f170..5fb681169 100644 --- a/classes/class-pmpro-site-health.php +++ b/classes/class-pmpro-site-health.php @@ -165,7 +165,7 @@ public function get_levels() { /** * Get the level group information. * - * @since TBD + * @since 3.0.2 * * @return string The level group information. */ diff --git a/package.json b/package.json index 3b55ddbb5..3e4a42f8f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "paid-memberships-pro", - "version": "3.0.1", + "version": "3.0.2", "description": "WordPress Membership Plugin", "directories": { "test": "tests" diff --git a/paid-memberships-pro.php b/paid-memberships-pro.php index a9d3ee90c..d8b40b0fb 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.1 + * Version: 3.0.2 * 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.1' ); +define( 'PMPRO_VERSION', '3.0.2' ); 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 451e424af..cfc5a99db 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.1 +Stable tag: 3.0.2 Build a membership site that grows with you: user registration, member profiles, 28 protected content types, free or paid subscriptions. @@ -214,6 +214,33 @@ 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.2 - 2024-04-11 = +* ENHANCEMENT: Added settings to disable custom page templates when they are out of date. #2923 (@dparker1005, @kimcoleman) +* ENHANCEMENT: Now defaulting the "View: My Access" setting to "View with my access". #2938 (@andrewlimaza) +* ENHANCEMENT: Added a new filter `pmpro_show_setup_wizard_link` to adjust whether the link to the setup wizard should show. #2372 (@andrewlimaza) +* ENHANCEMENT: Added level group information to site health. #2931 (@dparker1005) +* ENHANCEMENT: Improved how custom page templates are displayed in site health. #2923 (@dparker1005) +* BUG FIX/ENHANCEMENT: Added a nonce when updating the order of level groups. #2930 (@dparker1005) +* BUG FIX/ENHANCEMENT: No longer removing quotes from discount code error messages at checkout. #2935 (@MaximilianoRicoTabo) +* BUG FIX/ENHANCEMENT: Now supporting users without a role on the Edit Member page. #2942 (@dparker1005) +* BUG FIX/ENHANCEMENT: Updated some JS code used while processing PMPro form submissions to only run for PMPro forms. #2779 (@MaximilianoRicoTabo) +* BUG FIX/ENHANCEMENT: Made the "discount code applied to your order" strings consistent for localization. #2941 (@dparker1005, @mircobabini) +* BUG FIX/ENHANCEMENT: Now including email template variables for the level ID and level name on the billable invoice email template. #2947 (@MaximilianoRicoTabo) +* BUG FIX/ENHANCEMENT: Now only showing log-in errors if the user was not successfully logged in. #2949 (@dparker1005) +* BUG FIX: Fixed a fatal error when editing a level group on some versions of PHP. #2933 (@MaximilianoRicoTabo) +* BUG FIX: Fixed an issue where subscription creation would fail when using PayPal Express in Sandbox mode. #2944 (@dparker1005) +* BUG FIX: Fixed an issue where discount codes with unsupported billing details would not be highlighted on the Discount Codes list. #2928 (@MaximilianoRicoTabo) +* BUG FIX: Fixed an issue where using the MemberOrder::get_orders() method may incorrectly return an empty array when filtering by `discount_code_id`. #2929 (@dparker1005) +* BUG FIX: Fixed an issue where a month would always be considered 30 days when renewing a level with an expiration date. #2945 (@dparker1005, @fisher2470) +* BUG FIX: Adding back the `pmpro_deactivate_old_levels` filter that was removed in 3.0. #2946 (@dparker1005) +* BUG FIX: Fixed an issue where the Members List CSV Export could generate incorrect data when it was not ordered by user ID. #2811 (@rollsappletree) +* BUG FIX: Fixed a PHP warning when passing null to strtolower(). #2926 (@MaximilianoRicoTabo) +* BUG FIX: Fixed a PHP warning when passing null to esc_url(). #2939 (@dparker1005) +* BUG FIX: Fixed PHP deprecation warnings by declaring properties in the PMPro_Discount_Code class. #2936 (@MaximilianoRicoTabo) +* BUG FIX: Fixed PHP deprecation warnings by declaring properties in the PMProEmail class. #2934 (@MaximilianoRicoTabo) +* BUG FIX: Fixed some HTML tags that were being incorrectly escaped in the Admin Activity email. #2948 (@dparker1005) +* REFACTOR: Fixed some typos throughout the codebase. #2777, #2950, #2951 (@mircobabini) + = 3.0.1 - 2024-03-27 = * ENHANCEMENT: Improved the admin UI on mobile devices. #2913 (@kimcoleman) * ENHANCEMENT: Now hiding save messages when switching tabs on the edit member page. #2910 (@dparker1005)