Free Tools to Automate Your Site Growth - Version 1.18

Version Description

Download this release

Release Info

Developer marnietave
Plugin Icon 128x128 Free Tools to Automate Your Site Growth
Version 1.18
Comparing to
See all releases

Code changes from version 1.17 to 1.18

Files changed (3) hide show
  1. Readme.txt +7 -1
  2. classes/class_sumome.php +6 -1
  3. sumome.php +1 -1
Readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: SumoMe
3
  Tags: MailChimp, Aweber, Constant Contact, Campaign Monitor, GetResponse, ActiveCampaign, MyEmma, Mad Mimi, Infusionsoft, Feedblitz, HubSpot, MyNewsletterBuilder, Inbox First, Sailthru, Klaviyo, Vero, Pardot, Zapier, Ontraport, ExactTarget, Vertical Response, Drip, MailerLite, WhatCounts, ConvertKit, MailJet, Maropost, popup, exit intent, growth, subscribers, twitter, facebook share, social plugin, social sharing, subscription, email form, share, sharing, social , social media buttons , links, click to tweet , analytics , newsletter, widget,lightbox, analytics, newsletter, newsletter, Facebook, floating social buttons, google plus, Image sharing, pinterest plugin, pintrest, share image, sharebar, sharing, social bookmarking, social plugin, sms, tweet button, heat map, heatmaps, twitter share, contact form, scroll box, content analytics, inbound marketing, mailing list, share buttons, welcome mat, landing page
4
  Requires at least: 3.0.1
5
  Tested up to: 4.2.1
6
- Stable tag: 1.17
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -341,6 +341,9 @@ Why you should encourage Twitter sharing
341
  = 1.17 =
342
  * CSS, notification bubble, and more random Site ID
343
 
 
 
 
344
  == Upgrade Notice ==
345
 
346
  = 1.04 =
@@ -392,3 +395,6 @@ Why you should encourage Twitter sharing
392
 
393
  = 1.17 =
394
  * CSS, notification bubble, and more random Site ID
 
 
 
3
  Tags: MailChimp, Aweber, Constant Contact, Campaign Monitor, GetResponse, ActiveCampaign, MyEmma, Mad Mimi, Infusionsoft, Feedblitz, HubSpot, MyNewsletterBuilder, Inbox First, Sailthru, Klaviyo, Vero, Pardot, Zapier, Ontraport, ExactTarget, Vertical Response, Drip, MailerLite, WhatCounts, ConvertKit, MailJet, Maropost, popup, exit intent, growth, subscribers, twitter, facebook share, social plugin, social sharing, subscription, email form, share, sharing, social , social media buttons , links, click to tweet , analytics , newsletter, widget,lightbox, analytics, newsletter, newsletter, Facebook, floating social buttons, google plus, Image sharing, pinterest plugin, pintrest, share image, sharebar, sharing, social bookmarking, social plugin, sms, tweet button, heat map, heatmaps, twitter share, contact form, scroll box, content analytics, inbound marketing, mailing list, share buttons, welcome mat, landing page
4
  Requires at least: 3.0.1
5
  Tested up to: 4.2.1
6
+ Stable tag: 1.18
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
341
  = 1.17 =
342
  * CSS, notification bubble, and more random Site ID
343
 
344
+ = 1.18 =
345
+ * Fixes site ID conflict
346
+
347
  == Upgrade Notice ==
348
 
349
  = 1.04 =
395
 
396
  = 1.17 =
397
  * CSS, notification bubble, and more random Site ID
398
+
399
+ = 1.18 =
400
+ * Fixes site ID conflict
classes/class_sumome.php CHANGED
@@ -91,7 +91,7 @@ class WP_Plugin_SumoMe {
91
  public function check_generate_site_id() {
92
  $site_id = get_option('sumome_site_id');
93
 
94
- if (!$site_id) {
95
  list($usec, $sec) = explode(' ', microtime());
96
  $sumoSeed=(float) $sec + ((float) $usec * 100000);
97
 
@@ -105,6 +105,11 @@ class WP_Plugin_SumoMe {
105
  }
106
  }
107
 
 
 
 
 
 
108
 
109
  public function append_script_code() {
110
  $this->check_generate_site_id();
91
  public function check_generate_site_id() {
92
  $site_id = get_option('sumome_site_id');
93
 
94
+ if (!$site_id || WP_Plugin_SumoMe::blacklisted_site_id($site_id)) {
95
  list($usec, $sec) = explode(' ', microtime());
96
  $sumoSeed=(float) $sec + ((float) $usec * 100000);
97
 
105
  }
106
  }
107
 
108
+ private function blacklisted_site_id($site_id) {
109
+ $blacklist=array("8ce3f35797bf87c1644e567db13d9b3c2d9422027c10a7874b3446c9283c9aad");
110
+ if ($site_id && in_array($site_id, $blacklist)) return true;
111
+ }
112
+
113
 
114
  public function append_script_code() {
115
  $this->check_generate_site_id();
sumome.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: SumoMe
4
  Plugin URI: http://sumome.com
5
  Description: Free Tools to grow your email list from SumoMe.com
6
- Version: 1.17
7
  Author: SumoMe
8
  Author URI: http://www.SumoMe.com
9
  */
3
  Plugin Name: SumoMe
4
  Plugin URI: http://sumome.com
5
  Description: Free Tools to grow your email list from SumoMe.com
6
+ Version: 1.18
7
  Author: SumoMe
8
  Author URI: http://www.SumoMe.com
9
  */