diff --git a/changelog.md b/changelog.md index fe94498..a411e63 100644 --- a/changelog.md +++ b/changelog.md @@ -2,6 +2,10 @@ ## Changelog +### 2.3.2, 2019-07-03 + +* fixed: editing a feed loses detected delayed actions for add-ons using the Add-on framework + ### 2.3.1, 2019-07-03 * fixed: crash on PHP 5.6 when adding a new feed to a form diff --git a/gravityforms-dps-pxpay.php b/gravityforms-dps-pxpay.php index 383472a..8439c32 100644 --- a/gravityforms-dps-pxpay.php +++ b/gravityforms-dps-pxpay.php @@ -3,7 +3,7 @@ Plugin Name: Gravity Forms DPS PxPay Plugin URI: https://wordpress.org/plugins/gravity-forms-dps-pxpay/ Description: Easily create online payment forms with Gravity Forms and DPS Payment Express (Windcave) PxPay -Version: 2.3.1 +Version: 2.3.2 Author: WebAware Author URI: https://shop.webaware.com.au/ Text Domain: gravity-forms-dps-pxpay @@ -35,7 +35,7 @@ define('GFDPSPXPAY_PLUGIN_NAME', basename(dirname(__FILE__)) . '/' . basename(__FILE__)); define('GFDPSPXPAY_PLUGIN_FILE', __FILE__); define('GFDPSPXPAY_PLUGIN_MIN_PHP', '5.6'); -define('GFDPSPXPAY_PLUGIN_VERSION', '2.3.1'); +define('GFDPSPXPAY_PLUGIN_VERSION', '2.3.2'); require GFDPSPXPAY_PLUGIN_ROOT . 'includes/functions-global.php'; diff --git a/includes/class.GFDpsPxPayAddOn.php b/includes/class.GFDpsPxPayAddOn.php index 47b2760..c21ecbd 100644 --- a/includes/class.GFDpsPxPayAddOn.php +++ b/includes/class.GFDpsPxPayAddOn.php @@ -554,7 +554,7 @@ public function gformAddSettingsDelayed($fields) { // handle add-ons that support delayed payment conventions foreach ($addons as $class_name) { if (method_exists($class_name, 'get_instance')) { - call_user_func([$class_name, 'get_instance']); + $addon = call_user_func([$class_name, 'get_instance']); if (!empty($addon->delayed_payment_integration)) { $fields = $addon->add_paypal_post_payment_actions($fields); } diff --git a/package.json b/package.json index d461cc5..400fc17 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gravity-forms-dps-pxpay", - "version": "2.3.1", + "version": "2.3.2", "description": "Gravity Forms DPS PxPay", "homepage": "https://shop.webaware.com.au/downloads/gravity-forms-dps-pxpay/", "main": "Gruntfile.js", diff --git a/readme.txt b/readme.txt index 4692250..2ad54f8 100644 --- a/readme.txt +++ b/readme.txt @@ -8,7 +8,7 @@ Donate link: https://shop.webaware.com.au/donations/?donation_for=Gravity+Forms+ Tags: gravity forms, dps, payment express, pxpay, donations, payment, payment gateway, ecommerce Requires at least: 4.9 Tested up to: 5.2 -Stable tag: 2.3.1 +Stable tag: 2.3.2 Requires PHP: 5.6 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html @@ -145,7 +145,7 @@ Developers can run processes on these actions (e.g. load classes required to han ## Upgrade Notice -### 2.3.1 +### 2.3.2 fixed crash on PHP 5.6 when adding a new feed to a form in v2.3.0; prevent duplicate emails / feed processing @@ -153,6 +153,12 @@ fixed crash on PHP 5.6 when adding a new feed to a form in v2.3.0; prevent dupli The full changelog can be found [on GitHub](https://github.com/webaware/gravity-forms-dps-pxpay/blob/master/changelog.md). Recent entries: +### 2.3.2 + +Released 2019-07-03 + +* fixed: editing a feed loses detected delayed actions for add-ons using the Add-on framework + ### 2.3.1 Released 2019-07-03