Skip to content

Commit

Permalink
chore: prepare release 3.12.2
Browse files Browse the repository at this point in the history
  • Loading branch information
pauloiankoski committed Jun 11, 2024
1 parent dc6bf1b commit 221edce
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 9 deletions.
4 changes: 2 additions & 2 deletions give.php
Original file line number Diff line number Diff line change
Expand Up @@ -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: 3.12.1
* Version: 3.12.2
* Requires at least: 6.3
* Requires PHP: 7.2
* Text Domain: give
Expand Down Expand Up @@ -404,7 +404,7 @@ private function setup_constants()
{
// Plugin version.
if (!defined('GIVE_VERSION')) {
define('GIVE_VERSION', '3.12.1');
define('GIVE_VERSION', '3.12.2');
}

// Plugin Root File.
Expand Down
6 changes: 5 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Tags: donation, donate, recurring donations, fundraising, crowdfunding
Requires at least: 6.3
Tested up to: 6.5
Requires PHP: 7.2
Stable tag: 3.12.1
Stable tag: 3.12.2
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html

Expand Down Expand Up @@ -262,6 +262,10 @@ The 2% fee on Stripe donations only applies to donations taken via our free Stri
10. Use almost any payment gateway integration with GiveWP through our add-ons or by creating your own add-on.

== Changelog ==
= 3.12.2: June 11th, 2024 =
* Fix: Resolved an issue where only the donation amount was sent to PayPal, ignoring event ticket values for one-time donations.
* Fix: Resolved an issue where donations were processed on PayPal but not recorded in GiveWP due to missing city, state, and zip fields.

= 3.12.1: June 5th, 2024 =
* Fix: Resolved an issue where the Donor Phone field was not included in the donor export
* Fix: Resolved an issue where the Billing Address field was not saved in Stripe
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
class ConvertEventTicketsBlockToFieldsApi
{
/**
* @unreleased Remove event ID from field name
* @since 3.12.2 Remove event ID from field name
* @since 3.6.0
*
* @throws EmptyNameException
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ import {PayPalSubscriber} from './types';
let eventTickets;

/**
* @unreleased
* @since 3.12.2
*/
const getEventTicketsTotalAmount = (
eventTickets: Array<{
Expand Down Expand Up @@ -316,28 +316,28 @@ import {PayPalSubscriber} from './types';
};

/**
* @unreleased
* @since 3.12.2
*/
const getRequiredValidationMessage = () => {
return __('This is a required field', 'give');
};

/**
* @unreleased
* @since 3.12.2
*/
const isCityRequired = () => {
return Boolean(document.querySelector('.givewp-fields-text-city .givewp-field-required'));
};

/**
* @unreleased
* @since 3.12.2
*/
const isStateRequired = () => {
return Boolean(document.querySelector('.givewp-fields-select-state .givewp-field-required'));
};

/**
* @unreleased
* @since 3.12.2
*/
const isZipRequired = () => {
return Boolean(document.querySelector('.givewp-fields-text-zip .givewp-field-required'));
Expand Down

0 comments on commit 221edce

Please sign in to comment.