Version Description
(2014.05.19) = - Bug fixes - Fix for duplicate values being stored in the active power-ups option
Download this release
Release Info
Developer | AndyGCook |
Plugin | HubSpot – Free Marketing Plugin for WordPress |
Version | 0.9.3 |
Comparing to | |
See all releases |
Code changes from version 0.9.2 to 0.9.3
- leadin.php +25 -3
- readme.txt +7 -3
leadin.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: LeadIn
|
4 |
Plugin URI: http://leadin.com
|
5 |
Description: LeadIn is an easy-to-use marketing automation and lead tracking plugin for WordPress that helps you better understand your web site visitors.
|
6 |
-
Version: 0.9.
|
7 |
Author: Andy Cook, Nelson Joyce
|
8 |
Author URI: http://leadin.com
|
9 |
License: GPL2
|
@@ -13,6 +13,8 @@ License: GPL2
|
|
13 |
// Define Constants
|
14 |
//=============================================
|
15 |
|
|
|
|
|
16 |
if ( !defined('LEADIN_PATH') )
|
17 |
define('LEADIN_PATH', untrailingslashit(plugins_url('', __FILE__ )));
|
18 |
|
@@ -26,12 +28,14 @@ if ( !defined('LEADIN_DB_VERSION') )
|
|
26 |
define('LEADIN_DB_VERSION', '0.8.3');
|
27 |
|
28 |
if ( !defined('LEADIN_PLUGIN_VERSION') )
|
29 |
-
define('LEADIN_PLUGIN_VERSION', '0.9.
|
30 |
|
31 |
if ( !defined('MIXPANEL_PROJECT_TOKEN') )
|
32 |
define('MIXPANEL_PROJECT_TOKEN', 'a9615503ec58a6bce2c646a58390eac1');
|
33 |
|
34 |
|
|
|
|
|
35 |
//=============================================
|
36 |
// Include Needed Files
|
37 |
//=============================================
|
@@ -237,7 +241,25 @@ class WPLeadIn {
|
|
237 |
{
|
238 |
// 0.9.2 upgrade - set beta program power-up to auto-activate
|
239 |
$activated_power_ups = unserialize($leadin_active_power_ups);
|
240 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
241 |
update_option('leadin_active_power_ups', serialize($activated_power_ups));
|
242 |
}
|
243 |
|
3 |
Plugin Name: LeadIn
|
4 |
Plugin URI: http://leadin.com
|
5 |
Description: LeadIn is an easy-to-use marketing automation and lead tracking plugin for WordPress that helps you better understand your web site visitors.
|
6 |
+
Version: 0.9.3
|
7 |
Author: Andy Cook, Nelson Joyce
|
8 |
Author URI: http://leadin.com
|
9 |
License: GPL2
|
13 |
// Define Constants
|
14 |
//=============================================
|
15 |
|
16 |
+
|
17 |
+
|
18 |
if ( !defined('LEADIN_PATH') )
|
19 |
define('LEADIN_PATH', untrailingslashit(plugins_url('', __FILE__ )));
|
20 |
|
28 |
define('LEADIN_DB_VERSION', '0.8.3');
|
29 |
|
30 |
if ( !defined('LEADIN_PLUGIN_VERSION') )
|
31 |
+
define('LEADIN_PLUGIN_VERSION', '0.9.3');
|
32 |
|
33 |
if ( !defined('MIXPANEL_PROJECT_TOKEN') )
|
34 |
define('MIXPANEL_PROJECT_TOKEN', 'a9615503ec58a6bce2c646a58390eac1');
|
35 |
|
36 |
|
37 |
+
|
38 |
+
|
39 |
//=============================================
|
40 |
// Include Needed Files
|
41 |
//=============================================
|
241 |
{
|
242 |
// 0.9.2 upgrade - set beta program power-up to auto-activate
|
243 |
$activated_power_ups = unserialize($leadin_active_power_ups);
|
244 |
+
|
245 |
+
// 0.9.3 bug fix for dupliate beta_program values being stored in the active power-ups array
|
246 |
+
if ( !in_array('beta_program', $activated_power_ups) )
|
247 |
+
{
|
248 |
+
$activated_power_ups[] = 'beta_program';
|
249 |
+
update_option('leadin_active_power_ups', serialize($activated_power_ups));
|
250 |
+
}
|
251 |
+
else
|
252 |
+
{
|
253 |
+
$tmp = array_count_values($activated_power_ups);
|
254 |
+
$count = $tmp['beta_program'];
|
255 |
+
|
256 |
+
if ( $count > 1 )
|
257 |
+
{
|
258 |
+
$activated_power_ups = array_unique($activated_power_ups);
|
259 |
+
update_option('leadin_active_power_ups', serialize($activated_power_ups));
|
260 |
+
}
|
261 |
+
}
|
262 |
+
|
263 |
update_option('leadin_active_power_ups', serialize($activated_power_ups));
|
264 |
}
|
265 |
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: andygcook, nelsonjoyce
|
|
3 |
Tags: lead tracking, visitor tracking, analytics, crm, marketing automation, inbound marketing, subscription, marketing, lead generation, mailchimp
|
4 |
Requires at least: 3.7
|
5 |
Tested up to: 3.9.1
|
6 |
-
Stable tag: 0.9.
|
7 |
|
8 |
LeadIn is an easy-to-use marketing automation and lead tracking plugin for WordPress that helps you better understand your web site visitors.
|
9 |
|
@@ -89,8 +89,12 @@ To ensure quality we've tested the most popular WordPress form builder plugins.
|
|
89 |
|
90 |
== Changelog ==
|
91 |
|
92 |
-
- Current version: 0.9.
|
93 |
-
- Current version release: 2014-05-
|
|
|
|
|
|
|
|
|
94 |
|
95 |
= 0.9.2 (2014.05.16) =
|
96 |
|
3 |
Tags: lead tracking, visitor tracking, analytics, crm, marketing automation, inbound marketing, subscription, marketing, lead generation, mailchimp
|
4 |
Requires at least: 3.7
|
5 |
Tested up to: 3.9.1
|
6 |
+
Stable tag: 0.9.3
|
7 |
|
8 |
LeadIn is an easy-to-use marketing automation and lead tracking plugin for WordPress that helps you better understand your web site visitors.
|
9 |
|
89 |
|
90 |
== Changelog ==
|
91 |
|
92 |
+
- Current version: 0.9.3
|
93 |
+
- Current version release: 2014-05-19
|
94 |
+
|
95 |
+
= 0.9.3 (2014.05.19) =
|
96 |
+
- Bug fixes
|
97 |
+
- Fix for duplicate values being stored in the active power-ups option
|
98 |
|
99 |
= 0.9.2 (2014.05.16) =
|
100 |
|