diff --git a/.wordpress-org/banner-1544x500.png b/.wordpress-org/banner-1544x500.png index a2b7735..341eeb0 100644 Binary files a/.wordpress-org/banner-1544x500.png and b/.wordpress-org/banner-1544x500.png differ diff --git a/omnisend-for-gravity-forms/class-omnisend-addon-bootstrap.php b/omnisend-for-gravity-forms/class-omnisend-addon-bootstrap.php index f2cea55..a7fd2c5 100644 --- a/omnisend-for-gravity-forms/class-omnisend-addon-bootstrap.php +++ b/omnisend-for-gravity-forms/class-omnisend-addon-bootstrap.php @@ -2,12 +2,12 @@ /** * Plugin Name: Omnisend for Gravity Forms Add-On * Description: A gravity forms add-on to sync contacts with Omnisend. In collaboration with Omnisnnd for WooCommerce plugin it enables better customer tracking - * Version: 1.2.2 + * Version: 1.2.3 * Author: Omnisend * Author URI: https://www.omnisend.com * Developer: Omnisend * Developer URI: https://developers.omnisend.com - * Text Domain: omnisend-for-gravity-forms-add-on + * Text Domain: omnisend-for-gravity-forms * ------------------------------------------------------------------------ * Copyright 2023 Omnisend * License: GNU General Public License v3.0 @@ -21,7 +21,7 @@ } const OMNISEND_GRAVITY_ADDON_NAME = 'Omnisend for Gravity Forms Add-On'; -const OMNISEND_GRAVITY_ADDON_VERSION = '1.2.2'; +const OMNISEND_GRAVITY_ADDON_VERSION = '1.2.3'; add_action( 'gform_loaded', array( 'Omnisend_AddOn_Bootstrap', 'load' ), 5 ); diff --git a/omnisend-for-gravity-forms/class-omnisendaddon.php b/omnisend-for-gravity-forms/class-omnisendaddon.php index 71d4cd1..aff8ae8 100644 --- a/omnisend-for-gravity-forms/class-omnisendaddon.php +++ b/omnisend-for-gravity-forms/class-omnisendaddon.php @@ -146,15 +146,15 @@ public function form_settings_fields( $form ) { return array( array( - 'title' => esc_html__( 'Welcome Email', 'omnisend-for-gravity-forms-add-on' ), + 'title' => esc_html__( 'Welcome Email', 'omnisend-for-gravity-forms' ), 'fields' => array( array( - 'label' => esc_html__( 'Check this to automatically send your custom welcome email, created in Omnisend, to subscribers joining through Gravity Forms.', 'omnisend-for-gravity-forms-add-on' ), + 'label' => esc_html__( 'Check this to automatically send your custom welcome email, created in Omnisend, to subscribers joining through Gravity Forms.', 'omnisend-for-gravity-forms' ), 'type' => 'checkbox', 'name' => 'send_welcome_email_checkbox', 'choices' => array( array( - 'label' => esc_html__( 'Send a welcome email to new subscribers', 'omnisend-for-gravity-forms-add-on' ), + 'label' => esc_html__( 'Send a welcome email to new subscribers', 'omnisend-for-gravity-forms' ), 'name' => 'send_welcome_email', ), ), @@ -166,7 +166,7 @@ public function form_settings_fields( $form ) { ), ), array( - 'title' => esc_html__( 'Omnisend Field Mapping', 'omnisend-for-gravity-forms-add-on' ), + 'title' => esc_html__( 'Omnisend Field Mapping', 'omnisend-for-gravity-forms' ), 'fields' => array( array( @@ -174,78 +174,78 @@ public function form_settings_fields( $form ) { 'name' => 'field_mapping_details', ), array( - 'label' => esc_html__( 'Email', 'omnisend-for-gravity-forms-add-on' ), + 'label' => esc_html__( 'Email', 'omnisend-for-gravity-forms' ), 'type' => 'select', 'name' => 'email', 'validation_callback' => function ( $field, $value ) { if ( $value <= 0 ) { - $field->set_error( esc_html__( 'Email is required', 'omnisend-for-gravity-forms-add-on' ) ); + $field->set_error( esc_html__( 'Email is required', 'omnisend-for-gravity-forms' ) ); } }, 'choices' => $all_fields_choices, ), array( - 'label' => esc_html__( 'Address', 'omnisend-for-gravity-forms-add-on' ), + 'label' => esc_html__( 'Address', 'omnisend-for-gravity-forms' ), 'type' => 'select', 'name' => 'address', 'choices' => $all_fields_choices, ), array( - 'label' => esc_html__( 'City', 'omnisend-for-gravity-forms-add-on' ), + 'label' => esc_html__( 'City', 'omnisend-for-gravity-forms' ), 'type' => 'select', 'name' => 'city', 'choices' => $all_fields_choices, ), array( - 'label' => esc_html__( 'State', 'omnisend-for-gravity-forms-add-on' ), + 'label' => esc_html__( 'State', 'omnisend-for-gravity-forms' ), 'type' => 'select', 'name' => 'state', 'choices' => $all_fields_choices, ), array( - 'label' => esc_html__( 'Country', 'omnisend-for-gravity-forms-add-on' ), + 'label' => esc_html__( 'Country', 'omnisend-for-gravity-forms' ), 'type' => 'select', 'name' => 'country', 'choices' => $all_fields_choices, ), array( - 'label' => esc_html__( 'First Name', 'omnisend-for-gravity-forms-add-on' ), + 'label' => esc_html__( 'First Name', 'omnisend-for-gravity-forms' ), 'type' => 'select', 'name' => 'first_name', 'choices' => $all_fields_choices, ), array( - 'label' => esc_html__( 'Last Name', 'omnisend-for-gravity-forms-add-on' ), + 'label' => esc_html__( 'Last Name', 'omnisend-for-gravity-forms' ), 'type' => 'select', 'name' => 'last_name', 'choices' => $all_fields_choices, ), array( - 'label' => esc_html__( 'Phone Number', 'omnisend-for-gravity-forms-add-on' ), + 'label' => esc_html__( 'Phone Number', 'omnisend-for-gravity-forms' ), 'type' => 'select', 'name' => 'phone_number', 'choices' => $all_fields_choices, ), array( - 'label' => esc_html__( 'Birthday', 'omnisend-for-gravity-forms-add-on' ), + 'label' => esc_html__( 'Birthday', 'omnisend-for-gravity-forms' ), 'type' => 'select', 'name' => 'birthday', 'choices' => $all_fields_choices, ), array( - 'label' => esc_html__( 'Postal Code', 'omnisend-for-gravity-forms-add-on' ), + 'label' => esc_html__( 'Postal Code', 'omnisend-for-gravity-forms' ), 'type' => 'select', 'name' => 'postal_code', 'choices' => $all_fields_choices, ), array( - 'label' => esc_html__( 'Email Consent', 'omnisend-for-gravity-forms-add-on' ), + 'label' => esc_html__( 'Email Consent', 'omnisend-for-gravity-forms' ), 'type' => 'select', 'name' => 'email_consent', 'choices' => $consent_fields_choices, ), array( - 'label' => esc_html__( 'Phone Consent', 'omnisend-for-gravity-forms-add-on' ), + 'label' => esc_html__( 'Phone Consent', 'omnisend-for-gravity-forms' ), 'type' => 'select', 'name' => 'phone_consent', 'choices' => $consent_fields_choices, @@ -418,16 +418,16 @@ private function enableWebTracking( $email, $phone ) { } public function settings_welcome_automation_details( $field, $echo = true ) { // phpcs:ignore - echo '