Easy Forms for MailChimp - Version 6.3.28

Version Description

Download this release

Release Info

Developer yikesitskevin
Plugin Icon 128x128 Easy Forms for MailChimp
Version 6.3.28
Comparing to
See all releases

Code changes from version 6.3.27 to 6.3.28

public/partials/shortcodes/process/process_form_submission.php CHANGED
@@ -181,7 +181,7 @@ if ( is_wp_error( $member_exists ) || $double_optin_resubscribe === true ) {
181
  // If the user was unsubscribed and is re-subscribing, we set the status to 'pending', which
182
  // causes Mailchimp to send them a confirmation email. This is the only way Mailchimp will
183
  // allow us to re-subscribe the user.
184
- $was_unsubscribed = isset( $member_exists['status'] ) && $member_exists['status'] === 'unsubscribed';
185
 
186
  if ( $double_optin === 1 || $was_unsubscribed === true ) {
187
 
181
  // If the user was unsubscribed and is re-subscribing, we set the status to 'pending', which
182
  // causes Mailchimp to send them a confirmation email. This is the only way Mailchimp will
183
  // allow us to re-subscribe the user.
184
+ $was_unsubscribed = is_array( $member_exists ) && isset( $member_exists['status'] ) && $member_exists['status'] === 'unsubscribed';
185
 
186
  if ( $double_optin === 1 || $was_unsubscribed === true ) {
187
 
public/partials/shortcodes/process/process_form_submission_ajax.php CHANGED
@@ -144,7 +144,7 @@ if ( is_wp_error( $member_exists ) || $double_optin_resubscribe === true ) {
144
  // If the user was unsubscribed and is re-subscribing, we set the status to 'pending', which
145
  // causes Mailchimp to send them a confirmation email. This is the only way Mailchimp will
146
  // allow us to re-subscribe the user.
147
- $was_unsubscribed = isset( $member_exists['status'] ) && $member_exists['status'] === 'unsubscribed';
148
 
149
  if ( $double_optin === 1 || $was_unsubscribed === true ) {
150
 
144
  // If the user was unsubscribed and is re-subscribing, we set the status to 'pending', which
145
  // causes Mailchimp to send them a confirmation email. This is the only way Mailchimp will
146
  // allow us to re-subscribe the user.
147
+ $was_unsubscribed = is_array( $member_exists ) && isset( $member_exists['status'] ) && $member_exists['status'] === 'unsubscribed';
148
 
149
  if ( $double_optin === 1 || $was_unsubscribed === true ) {
150
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://yikesplugins.com/?utm_source=wp_plugin_repo&utm_medium=dona
4
  Tags: MailChimp, MailChimp forms, MailChimp lists, opt-in forms, sign up form, MailChimp, email, forms, mailing lists, marketing, newsletter, sign up
5
  Requires at least: 4.0
6
  Tested up to: 4.8.2
7
- Stable tag: 6.3.27
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -273,6 +273,9 @@ Below you'll find a complete list of the hooks and filters available in Easy For
273
 
274
  == Changelog ==
275
 
 
 
 
276
  = Easy Forms for MailChimp 6.3.27 - October 20th, 2017 =
277
  * Replaced the current loading gifs with SVGs
278
  * Added support for address field placeholder values. You can filter these values with the filter `yikes-mailchimp-address-{$addr_type}-placeholder`.
4
  Tags: MailChimp, MailChimp forms, MailChimp lists, opt-in forms, sign up form, MailChimp, email, forms, mailing lists, marketing, newsletter, sign up
5
  Requires at least: 4.0
6
  Tested up to: 4.8.2
7
+ Stable tag: 6.3.28
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
273
 
274
  == Changelog ==
275
 
276
+ = Easy Forms for MailChimp 6.3.28 - October 21st, 2017 =
277
+ * Fixing bug with 6.3.27's single optin resubscribe
278
+
279
  = Easy Forms for MailChimp 6.3.27 - October 20th, 2017 =
280
  * Replaced the current loading gifs with SVGs
281
  * Added support for address field placeholder values. You can filter these values with the filter `yikes-mailchimp-address-{$addr_type}-placeholder`.
yikes-inc-easy-mailchimp-extender.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Easy Forms for MailChimp
4
  * Plugin URI: https://yikesplugins.com/plugin/easy-forms-for-mailchimp/
5
  * Description: The ultimate MailChimp WordPress plugin. Easily build <strong>unlimited forms for your MailChimp lists</strong>, add them to your site and track subscriber activity. To get started, go to the settings page and enter your <a href="https://yikesplugins.com/support/knowledge-base/finding-your-mailchimp-api-key/" target="_blank">MailChimp API key</a>.
6
- * Version: 6.3.27
7
  * Author: YIKES, Inc.
8
  * Author URI: https://www.yikesplugins.com/
9
  * License: GPL-3.0+
@@ -43,7 +43,7 @@ if ( ! defined( 'WPINC' ) ) {
43
  * @since 6.1.3
44
  */
45
  if ( ! defined( 'YIKES_MC_VERSION' ) ) {
46
- define( 'YIKES_MC_VERSION' , '6.3.27' );
47
  }
48
 
49
  /**
3
  * Plugin Name: Easy Forms for MailChimp
4
  * Plugin URI: https://yikesplugins.com/plugin/easy-forms-for-mailchimp/
5
  * Description: The ultimate MailChimp WordPress plugin. Easily build <strong>unlimited forms for your MailChimp lists</strong>, add them to your site and track subscriber activity. To get started, go to the settings page and enter your <a href="https://yikesplugins.com/support/knowledge-base/finding-your-mailchimp-api-key/" target="_blank">MailChimp API key</a>.
6
+ * Version: 6.3.28
7
  * Author: YIKES, Inc.
8
  * Author URI: https://www.yikesplugins.com/
9
  * License: GPL-3.0+
43
  * @since 6.1.3
44
  */
45
  if ( ! defined( 'YIKES_MC_VERSION' ) ) {
46
+ define( 'YIKES_MC_VERSION' , '6.3.28' );
47
  }
48
 
49
  /**