Skip to content

Commit eb7d4cd

Browse files
committed
Changelog and version numbers
1 parent 856c837 commit eb7d4cd

6 files changed

+32
-6
lines changed

CHANGELOG.txt

+13
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,17 @@
11
== Changelog ==
2+
= 3.3.2 - 2024-11-21 =
3+
* ENHANCEMENT: Updated the "Checkout Spam Protection" security setting to also check for spam when trying to apply invalid discount codes. #3208 (@ideadude, @dparker1005)
4+
* ENHANCEMENT: Added a new filter `pmpro_registered_reports` for registering reports. #3200 (@mircobabini)
5+
* ENHANCEMENT: Now showing the Stripe API version being used by PMPro in site health instead of on the Payment Gateways settings page. #3204 (@dparker1005)
6+
* BUG FIX/ENHANCEMENT: Fixed an issue where Stripe error messages at checkout would not show at the bottom of the checkout page. #3194 (@andrewlimaza)
7+
* BUG FIX/ENHANCEMENT: Now setting the discount code for an order during the `saveOrder()` method at checkout and when updating an order in the WP admin. #3190 (@dparker1005)
8+
* BUG FIX/ENHANCEMENT: Improved the logic to get random order codes to help prevent duplicate order codes. #3191 (@dparker1005)
9+
* BUG FIX: Fixed `doing_it_wrong` notices for strings that are localized before the `init` hook which started showing after sites updated to WordPress version 6.7. #3200 (@mircobabini)
10+
* BUG FIX: Fixed an issue where the value '0' for a user field would be overwritten with the field's default value when displayed in the checkout form. #3189 (@dparker1005)
11+
* BUG FIX: Fixed an issue where IP addresses may not be detected correctly when using the `pmpro_get_ip()` function. #3192 (@andrewlimaza)
12+
* BUG FIX: Now ensuring that the `SITENAME` constant is not already defined before defining it. #3196 (@dparker1005)
13+
* BUG FIX: Fixed a fatal error that would occur on the confirmation page if an invalid user ID is set on the order object being shown. #3207 (@dparker1005)
14+
215
= 3.3.1 - 2024-10-24 =
316
* ENHANCEMENT: Added a Subscriptions List Table to allow admins to view, manage, and link subscriptions from the WordPress admin. #2828 (@dparker1005, @kimcoleman)
417
* ENHANCEMENT: Discount codes can now be set to only allow one use per user. #3175 (@dparker1005)

includes/checkout.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ function pmpro_complete_checkout( $order ) {
256256

257257
//add discount code use
258258
if ( ! empty( $discount_code_id ) ) {
259-
do_action_deprecated( 'pmpro_discount_code_used', array( $discount_code_id, $order->user_id, $order->id ), 'TBD', 'pmpro_added_order' );
259+
do_action_deprecated( 'pmpro_discount_code_used', array( $discount_code_id, $order->user_id, $order->id ), '3.3.2', 'pmpro_added_order' );
260260
}
261261

262262
//save first and last name fields

includes/reports.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
/**
88
* Populate the $pmpro_reports global.
99
*
10-
* @since TBD
10+
* @since 3.3.2
1111
*/
1212
function pmpro_populate_reports() {
1313
global $pmpro_reports;

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "paid-memberships-pro",
3-
"version": "3.3.1",
3+
"version": "3.3.2",
44
"description": "WordPress Membership Plugin",
55
"directories": {
66
"test": "tests"

paid-memberships-pro.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: Paid Memberships Pro
44
* Plugin URI: https://www.paidmembershipspro.com
55
* Description: The Trusted Membership Platform That Grows with You
6-
* Version: 3.3.1
6+
* Version: 3.3.2
77
* Author: Paid Memberships Pro
88
* Author URI: https://www.paidmembershipspro.com
99
* Text Domain: paid-memberships-pro
@@ -16,7 +16,7 @@
1616
*/
1717

1818
// version constant
19-
define( 'PMPRO_VERSION', '3.3.1' );
19+
define( 'PMPRO_VERSION', '3.3.2' );
2020
define( 'PMPRO_USER_AGENT', 'Paid Memberships Pro v' . PMPRO_VERSION . '; ' . site_url() );
2121
define( 'PMPRO_MIN_PHP_VERSION', '5.6' );
2222

readme.txt

+14-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Tags: memberships, member, community, user profile, user registration
44
Requires at least: 5.2
55
Tested up to: 6.6.2
66
Requires PHP: 5.6
7-
Stable tag: 3.3.1
7+
Stable tag: 3.3.2
88
License: GPLv2
99
License URI: https://www.gnu.org/licenses/gpl-2.0.html
1010

@@ -204,6 +204,19 @@ Not sure? You can find out by doing a bit a research.
204204
4. [Ask using our contact form](https://www.paidmembershipspro.com/contact/)
205205

206206
== Changelog ==
207+
= 3.3.2 - 2024-11-21 =
208+
* ENHANCEMENT: Updated the "Checkout Spam Protection" security setting to also check for spam when trying to apply invalid discount codes. #3208 (@ideadude, @dparker1005)
209+
* ENHANCEMENT: Added a new filter `pmpro_registered_reports` for registering reports. #3200 (@mircobabini)
210+
* ENHANCEMENT: Now showing the Stripe API version being used by PMPro in site health instead of on the Payment Gateways settings page. #3204 (@dparker1005)
211+
* BUG FIX/ENHANCEMENT: Fixed an issue where Stripe error messages at checkout would not show at the bottom of the checkout page. #3194 (@andrewlimaza)
212+
* BUG FIX/ENHANCEMENT: Now setting the discount code for an order during the `saveOrder()` method at checkout and when updating an order in the WP admin. #3190 (@dparker1005)
213+
* BUG FIX/ENHANCEMENT: Improved the logic to get random order codes to help prevent duplicate order codes. #3191 (@dparker1005)
214+
* BUG FIX: Fixed `doing_it_wrong` notices for strings that are localized before the `init` hook which started showing after sites updated to WordPress version 6.7. #3200 (@mircobabini)
215+
* BUG FIX: Fixed an issue where the value '0' for a user field would be overwritten with the field's default value when displayed in the checkout form. #3189 (@dparker1005)
216+
* BUG FIX: Fixed an issue where IP addresses may not be detected correctly when using the `pmpro_get_ip()` function. #3192 (@andrewlimaza)
217+
* BUG FIX: Now ensuring that the `SITENAME` constant is not already defined before defining it. #3196 (@dparker1005)
218+
* BUG FIX: Fixed a fatal error that would occur on the confirmation page if an invalid user ID is set on the order object being shown. #3207 (@dparker1005)
219+
207220
= 3.3.1 - 2024-10-24 =
208221
* ENHANCEMENT: Added a Subscriptions List Table to allow admins to view, manage, and link subscriptions from the WordPress admin. #2828 (@dparker1005, @kimcoleman)
209222
* ENHANCEMENT: Discount codes can now be set to only allow one use per user. #3175 (@dparker1005)

0 commit comments

Comments
 (0)