MailChimp Forms by MailMunch - Version 2.0.1

Version Description

Download this release

Release Info

Developer mailmunch
Plugin Icon 128x128 MailChimp Forms by MailMunch
Version 2.0.1
Comparing to
See all releases

Code changes from version 2.0.0 to 2.0.1

includes/class-mailchimp-mailmunch.php CHANGED
@@ -94,7 +94,7 @@ class Mailchimp_Mailmunch {
94
 
95
  $this->plugin_name = 'MailChimp Forms by MailMunch';
96
  $this->integration_name = 'MailChimp';
97
- $this->version = '2.0.0';
98
 
99
  $this->load_dependencies();
100
  $this->set_locale();
94
 
95
  $this->plugin_name = 'MailChimp Forms by MailMunch';
96
  $this->integration_name = 'MailChimp';
97
+ $this->version = '2.0.1';
98
 
99
  $this->load_dependencies();
100
  $this->set_locale();
includes/class-mailmunch-api.php CHANGED
@@ -302,7 +302,7 @@
302
  }
303
 
304
  $newUser = json_decode($request['body']);
305
- if ($newUser->site_id != $this->getSiteId()) {
306
  $this->setSiteId($newUser->site_id);
307
  }
308
  return $newUser;
@@ -329,7 +329,7 @@
329
  }
330
 
331
  $newUser = json_decode($request['body']);
332
- if ($newUser->site_id != $this->getSiteId()) {
333
  $this->setSiteId($newUser->site_id);
334
  }
335
  return $newUser;
302
  }
303
 
304
  $newUser = json_decode($request['body']);
305
+ if (intval($newUser->site_id) && $newUser->site_id != $this->getSiteId()) {
306
  $this->setSiteId($newUser->site_id);
307
  }
308
  return $newUser;
329
  }
330
 
331
  $newUser = json_decode($request['body']);
332
+ if (intval($newUser->site_id) && $newUser->site_id != $this->getSiteId()) {
333
  $this->setSiteId($newUser->site_id);
334
  }
335
  return $newUser;
mailchimp-mailmunch.php CHANGED
@@ -16,7 +16,7 @@
16
  * Plugin Name: MailChimp Forms by MailMunch
17
  * Plugin URI: http://connect.mailchimp.com/integrations/mailmunch-email-list-builder
18
  * Description: The MailChimp plugin allows you to quickly and easily add signup forms for your MailChimp lists. Popup, Embedded, Top Bar and a variety of different options available.
19
- * Version: 2.0.0
20
  * Author: MailMunch
21
  * Author URI: http://www.mailmunch.co
22
  * License: GPL-2.0+
16
  * Plugin Name: MailChimp Forms by MailMunch
17
  * Plugin URI: http://connect.mailchimp.com/integrations/mailmunch-email-list-builder
18
  * Description: The MailChimp plugin allows you to quickly and easily add signup forms for your MailChimp lists. Popup, Embedded, Top Bar and a variety of different options available.
19
+ * Version: 2.0.1
20
  * Author: MailMunch
21
  * Author URI: http://www.mailmunch.co
22
  * License: GPL-2.0+
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: mailchimp,mailchimp form,mailchimp newsletter,mailchimp plugin,newsletter,
4
 
5
  Requires at least: 3.0.1
6
  Tested up to: 4.2
7
- Stable tag: 2.0.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
4
 
5
  Requires at least: 3.0.1
6
  Tested up to: 4.2
7
+ Stable tag: 2.0.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10