Skip to content

Commit

Permalink
Merge pull request #16 from omnisend/update-wp-version
Browse files Browse the repository at this point in the history
Update WP version and security fixes
  • Loading branch information
nerijuszaniauskas authored Dec 3, 2024
2 parents 584014c + 403ae62 commit 7cfe1af
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 17 deletions.
Binary file modified .wordpress-org/banner-1544x500.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Plugin Name: Omnisend for Formidable Forms Add-On
* Description: A Formidable forms add-on to sync contacts with Omnisend. In collaboration with Omnisnnd for WooCommerce plugin it enables better customer tracking
* Version: 1.1.3
* Version: 1.1.4
* Author: Omnisend
* Author URI: https://www.omnisend.com
* Developer: Omnisend
Expand Down Expand Up @@ -110,21 +110,21 @@ public static function check_plugin_requirements() {
* Display a notice for the missing Omnisend API key.
*/
public static function omnisend_api_key_notice() {
echo '<div class="error"><p>' . esc_html__( 'Your Omnisend is not configured properly. Please configure it firstly', 'omnisend-formidable' ) . '</p></div>';
echo '<div class="error"><p>' . esc_html__( 'Your Omnisend is not configured properly. Please configure it firstly', 'omnisend-for-formidable-forms-add-on' ) . '</p></div>';
}

/**
* Display a notice for the missing Omnisend Plugin.
*/
public static function omnisend_notice() {
echo '<div class="error"><p>' . esc_html__( 'Plugin Omnisend is deactivated. Please install and activate ', 'omnisend-formidable' ) . '<a href="https://wordpress.org/plugins/omnisend/">' . esc_html__( 'Omnisend plugin.', 'omnisend-formidable' ) . '</a></p></div>';
echo '<div class="error"><p>' . esc_html__( 'Plugin Omnisend is deactivated. Please install and activate ', 'omnisend-for-formidable-forms-add-on' ) . '<a href="https://wordpress.org/plugins/omnisend/">' . esc_html__( 'Omnisend plugin.', 'omnisend-for-formidable-forms-add-on' ) . '</a></p></div>';
}

/**
* Display a notice for the missing Formidable Forms plugin.
*/
public static function formidable_forms_notice() {
echo '<div class="error"><p>' . esc_html__( 'Plugin Omnisend for Formidable Forms Add-On is deactivated. Please install and activate Formidable forms plugin.', 'omnisend-formidable' ) . '</p></div>';
echo '<div class="error"><p>' . esc_html__( 'Plugin Omnisend for Formidable Forms Add-On is deactivated. Please install and activate Formidable forms plugin.', 'omnisend-for-formidable-forms-add-on' ) . '</p></div>';
}

/**
Expand Down
22 changes: 11 additions & 11 deletions omnisend-for-formidable-forms-add-on/includes/Templates/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,45 +21,45 @@
<input type='hidden' value='0' name='<?php echo esc_attr( $setting_code ); ?>'>
<input type='checkbox' id = '<?php echo esc_attr( $setting_code ); ?>' value = '1' name = '<?php echo esc_attr( $setting_code ); ?>' <?php checked( '1', get_option( $setting_code ) ); ?>>
<label for = '<?php echo esc_attr( $setting_code ); ?>' />
<?php esc_html_e( 'Send form data to Omnisend', 'omnisend-formidable' ); ?>
<?php esc_html_e( 'Send form data to Omnisend', 'omnisend-for-formidable-forms-add-on' ); ?>
</label>
</label>
<span class = 'information'>
<?php esc_html_e( 'Check this to see all data collected through your form in Omnisend', 'omnisend-formidable' ); ?>
<?php esc_html_e( 'Check this to see all data collected through your form in Omnisend', 'omnisend-for-formidable-forms-add-on' ); ?>
</span>
</div>

<div class = 'option-two'>
<h3 class = 'information-header'><?php esc_html_e( 'Welcome email', 'omnisend-formidable' ); ?></h3>
<h3 class = 'information-header'><?php esc_html_e( 'Welcome email', 'omnisend-for-formidable-forms-add-on' ); ?></h3>
<span>
<?php esc_html_e( 'Check this to automatically send your custom welcome email, created in omnisend, to subscribers, joining through Formidable Forms.', 'omnisend-formidable' ); ?>
<?php esc_html_e( 'Check this to automatically send your custom welcome email, created in omnisend, to subscribers, joining through Formidable Forms.', 'omnisend-for-formidable-forms-add-on' ); ?>
</span>
<label class='switch mail'>
<input type='hidden' value='0' name='<?php echo esc_attr( $welcome_code ); ?>'>
<input type='checkbox' id = '<?php echo esc_attr( $welcome_code ); ?>' value = '1' name = '<?php echo esc_attr( $welcome_code ); ?>' <?php checked( '1', get_option( $welcome_code ) ); ?>>
<label for = '<?php echo esc_attr( $welcome_code ); ?>' />
<?php esc_html_e( 'Send a welcome email to new subscribers', 'omnisend-formidable' ); ?>
<?php esc_html_e( 'Send a welcome email to new subscribers', 'omnisend-for-formidable-forms-add-on' ); ?>
</label>
</label>
<span class = 'information'>
<?php esc_html_e( 'After checking this, don’t forget to design your welcome email in Omnisend.', 'omnisend-formidable' ); ?>
<?php esc_html_e( 'After checking this, don’t forget to design your welcome email in Omnisend.', 'omnisend-for-formidable-forms-add-on' ); ?>
</span>
<a href = 'https://support.omnisend.com/en/articles/1061818-welcome-email-automation' class = 'omnisend-url' target = '_blank'>
<?php esc_html_e( 'Learn more about Welcome automation', 'omnisend-formidable' ); ?>
<?php esc_html_e( 'Learn more about Welcome automation', 'omnisend-for-formidable-forms-add-on' ); ?>
</a>
</div>

<div class = 'additional-information'>
<h3 class = 'information-header'>
<?php esc_html_e( 'Field mapping', 'omnisend-formidable' ); ?>
<?php esc_html_e( 'Field mapping', 'omnisend-for-formidable-forms-add-on' ); ?>
</h3>
<span class = 'information'>
<?php esc_html_e( "Field mapping lets you align your Formidable Forms fields with Omnisend. It's important to match them correctly, so the information collected through Formidable Forms goes into the right place in Omnisend.", 'omnisend-formidable' ); ?>
<?php esc_html_e( "Field mapping lets you align your Formidable Forms fields with Omnisend. It's important to match them correctly, so the information collected through Formidable Forms goes into the right place in Omnisend.", 'omnisend-for-formidable-forms-add-on' ); ?>
</span>
<span class = 'information-help'>
<?php esc_html_e( 'Having trouble?', 'omnisend-formidable' ); ?>
<?php esc_html_e( 'Having trouble?', 'omnisend-for-formidable-forms-add-on' ); ?>
<a href = 'https://support.omnisend.com/en/articles/8814135-integration-with-formidable-forms' class = 'omnisend-url' target = '_blank'>
<?php esc_html_e( 'Explore our help article', 'omnisend-formidable' ); ?>
<?php esc_html_e( 'Explore our help article', 'omnisend-for-formidable-forms-add-on' ); ?>
</a>
</span>
</div>
Expand Down
8 changes: 6 additions & 2 deletions omnisend-for-formidable-forms-add-on/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ Plugin Name: Omnisend for Formidable Forms Add-On
Contributors: Omnisend
Tags: formidable forms, form, email marketing, web tracking, subscriber collection
Requires at least: 4.7.0
Tested up to: 6.4
Tested up to: 6.7
Requires PHP: 7.1
Stable tag: 1.1.3
Stable tag: 1.1.4
License: GPLv3 or later
URI: http://www.gnu.org/licenses/gpl-3.0.html

Expand Down Expand Up @@ -59,6 +59,10 @@ You can report security bugs through the Patchstack Vulnerability Disclosure Pro
7. Convert more visitors with highly-targeted landing pages

== Changelog ==

= 1.1.4 =
* Update tested WP version and security fixes

= 1.1.3 =
* Fix connection without WooCommerce issue

Expand Down

0 comments on commit 7cfe1af

Please sign in to comment.