diff --git a/wp-content/plugins/gravityformszapier/change_log.txt b/wp-content/plugins/gravityformszapier/change_log.txt index c5d15b2f42..8979be6558 100644 --- a/wp-content/plugins/gravityformszapier/change_log.txt +++ b/wp-content/plugins/gravityformszapier/change_log.txt @@ -1,5 +1,6 @@ -### 4.2.1 +### 4.3.0 | 2024-03-06 - Added support for async (background) feed processing to improve form submission performance. +- Fixed an issue which causes entries from translated sites to fail. ### 4.2 | 2022-02-10 - Added support for Zapier Transfer. diff --git a/wp-content/plugins/gravityformszapier/includes/rest/class-transfer-entries-controller.php b/wp-content/plugins/gravityformszapier/includes/rest/class-transfer-entries-controller.php index 57e773bbb2..65f97dc8a6 100644 --- a/wp-content/plugins/gravityformszapier/includes/rest/class-transfer-entries-controller.php +++ b/wp-content/plugins/gravityformszapier/includes/rest/class-transfer-entries-controller.php @@ -61,7 +61,13 @@ public function get_items( $request ) { $admin_labels = ! empty( $request->get_param( '_admin_labels' ) ); $data = array(); foreach ( $entries as $entry ) { - $data[] = $this->get_sample_data( $form, $admin_labels, $entry ); + $entry_data = $this->get_sample_data( $form, $admin_labels, $entry ); + + // Manually add in entry ID to prevent translated keys from breaking entries. + if ( ! isset( $entry_data['Entry ID'] ) ) { + $entry_data['Entry ID'] = rgar( $entry, 'id' ); + } + $data[] = $entry_data; } $per_page = isset( $search_params['paging']['page_size'] ) ? $search_params['paging']['page_size'] : 10; diff --git a/wp-content/plugins/gravityformszapier/languages/gravityformszapier.pot b/wp-content/plugins/gravityformszapier/languages/gravityformszapier.pot index a172f0c9fa..a706fb0f0c 100644 --- a/wp-content/plugins/gravityformszapier/languages/gravityformszapier.pot +++ b/wp-content/plugins/gravityformszapier/languages/gravityformszapier.pot @@ -1,17 +1,17 @@ -# Copyright (C) 2023 Gravity Forms +# Copyright (C) 2024 Gravity Forms # This file is distributed under the GPL-2.0+. msgid "" msgstr "" -"Project-Id-Version: Gravity Forms Zapier Add-On 4.2.1\n" +"Project-Id-Version: Gravity Forms Zapier Add-On 4.3.0\n" "Report-Msgid-Bugs-To: https://gravityforms.com/support\n" "Last-Translator: Gravity Forms \n" "Language-Team: Gravity Forms \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"POT-Creation-Date: 2023-02-02T08:55:41+00:00\n" +"POT-Creation-Date: 2024-03-06T18:57:58+00:00\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"X-Generator: WP-CLI 2.7.1\n" +"X-Generator: WP-CLI 2.8.1\n" "X-Domain: gravityformszapier\n" #. Plugin Name of the plugin diff --git a/wp-content/plugins/gravityformszapier/zapier.php b/wp-content/plugins/gravityformszapier/zapier.php index 590b12164c..de17a7c653 100644 --- a/wp-content/plugins/gravityformszapier/zapier.php +++ b/wp-content/plugins/gravityformszapier/zapier.php @@ -3,7 +3,7 @@ Plugin Name: Gravity Forms Zapier Add-On Plugin URI: https://gravityforms.com Description: Integrates Gravity Forms with Zapier, allowing form submissions to be automatically sent to your configured Zaps. -Version: 4.2.1 +Version: 4.3.0 Author: Gravity Forms Author URI: https://gravityforms.com License: GPL-2.0+ @@ -11,7 +11,7 @@ Domain Path: /languages ------------------------------------------------------------------------ -Copyright 2009-2021 Rocketgenius, Inc. +Copyright 2009-2024 Rocketgenius, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -30,8 +30,8 @@ defined( 'ABSPATH' ) || die(); -// Defines the current version of the Gravity Forms Zapier Add-On -define( 'GF_ZAPIER_VERSION', '4.2.1' ); +// Defines the current version of the Gravity Forms Zapier Add-On. +define( 'GF_ZAPIER_VERSION', '4.3.0' ); // Defines the minimum version of Gravity Forms required to run this version of the add-on. define( 'GF_ZAPIER_MIN_GF_VERSION', '2.4' );