From f526a5cd7f7b82be1dfc4b428b6e6edee927e30c Mon Sep 17 00:00:00 2001 From: Angela Blake <35241639+angelablake@users.noreply.github.com> Date: Mon, 18 Sep 2023 15:10:50 -0500 Subject: [PATCH] chore: prepare for 2.33.2 release --- give.php | 4 ++-- readme.txt | 5 ++++- .../Adapters/LegacyPaymentGatewayAdapter.php | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/give.php b/give.php index 021272f12f..fb85a4641a 100644 --- a/give.php +++ b/give.php @@ -6,7 +6,7 @@ * Description: The most robust, flexible, and intuitive way to accept donations on WordPress. * Author: GiveWP * Author URI: https://givewp.com/ - * Version: 2.33.1 + * Version: 2.33.2 * Requires at least: 5.0 * Requires PHP: 7.0 * Text Domain: give @@ -316,7 +316,7 @@ private function setup_constants() { // Plugin version. if (!defined('GIVE_VERSION')) { - define('GIVE_VERSION', '2.33.1'); + define('GIVE_VERSION', '2.33.2'); } // Plugin Root File. diff --git a/readme.txt b/readme.txt index b86b7f9bbf..c992b30d28 100644 --- a/readme.txt +++ b/readme.txt @@ -5,7 +5,7 @@ Tags: donation, donate, recurring donations, fundraising, crowdfunding Requires at least: 5.0 Tested up to: 6.3 Requires PHP: 7.0 -Stable tag: 2.33.1 +Stable tag: 2.33.2 License: GPLv3 License URI: http://www.gnu.org/licenses/gpl-3.0.html @@ -258,6 +258,9 @@ The 2% fee on Stripe donations only applies to donations taken via our free Stri 8. GiveWP has a dedicated support team to help answer any questions you may have and help you through stumbling blocks. == Changelog == += 2.33.1: August 31st, 2023 = +* Fix: Add validation for form status to prevent donations to donation forms with the status of "Trash" + = 2.33.1: August 31st, 2023 = * Security: The donor default user role has been sanitized to prevent privilege escalation diff --git a/src/LegacyPaymentGateways/Adapters/LegacyPaymentGatewayAdapter.php b/src/LegacyPaymentGateways/Adapters/LegacyPaymentGatewayAdapter.php index 08c61e7e89..01802564c9 100644 --- a/src/LegacyPaymentGateways/Adapters/LegacyPaymentGatewayAdapter.php +++ b/src/LegacyPaymentGateways/Adapters/LegacyPaymentGatewayAdapter.php @@ -199,7 +199,7 @@ private function validateGatewayNonce(string $gatewayNonce) /** * Validate Donation Form Status * - * @unreleased + * @since 2.33.2 */ private function validateDonationFormStatus(int $formId) {