HubSpot – Free Marketing Plugin for WordPress - Version 6.1.0

Version Description

(2016.11.16) = - Fix an issue where accounts could not be disconnected

Download this release

Release Info

Developer leadin
Plugin Icon 128x128 HubSpot – Free Marketing Plugin for WordPress
Version 6.1.0
Comparing to
See all releases

Code changes from version 6.0.0 to 6.1.0

Files changed (3) hide show
  1. inc/leadin-disconnect.php +3 -2
  2. leadin.php +2 -2
  3. readme.txt +6 -3
inc/leadin-disconnect.php CHANGED
@@ -10,15 +10,16 @@ if (is_admin()) {
10
 
11
  function leadin_disconnect_ajax()
12
  {
13
- if (get_option('leadin_slumber_mode')) {
14
  delete_option('leadin_portalId');
15
  delete_option('leadin_slumber_mode');
 
16
 
17
  wp_die('{"message": "Success!"}');
18
  } else {
19
  error_log("Disconnect error");
20
  header('HTTP/1.0 400 Bad Request');
21
- wp_die('{"error": "Leadin must be in slumber mode to disconnect"}');
22
  }
23
 
24
  }
10
 
11
  function leadin_disconnect_ajax()
12
  {
13
+ if (get_option('leadin_portalId')) {
14
  delete_option('leadin_portalId');
15
  delete_option('leadin_slumber_mode');
16
+ delete_option('leadin_hapikey');
17
 
18
  wp_die('{"message": "Success!"}');
19
  } else {
20
  error_log("Disconnect error");
21
  header('HTTP/1.0 400 Bad Request');
22
+ wp_die('{"error": "No leadin_portalId found, cannot disconnect."}');
23
  }
24
 
25
  }
leadin.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: HubSpot Marketing Free (formerly Leadin)
4
  Plugin URI: http://www.hubspot.com/products/marketing/free
5
  Description: HubSpot Marketing Free is an easy-to-use lead tracking plugin for WordPress that helps you better understand your web site visitors.
6
- Version: 6.0.0
7
  Author: HubSpot
8
  Author URI: http://www.hubspot.com
9
  License: GPL2
@@ -29,7 +29,7 @@ if (!defined('LEADIN_DB_VERSION'))
29
  define('LEADIN_DB_VERSION', '2.2.5');
30
 
31
  if (!defined('LEADIN_PLUGIN_VERSION'))
32
- define('LEADIN_PLUGIN_VERSION', '6.0.0');
33
 
34
  if (!defined('LEADIN_SOURCE'))
35
  define('LEADIN_SOURCE', 'leadin.com');
3
  Plugin Name: HubSpot Marketing Free (formerly Leadin)
4
  Plugin URI: http://www.hubspot.com/products/marketing/free
5
  Description: HubSpot Marketing Free is an easy-to-use lead tracking plugin for WordPress that helps you better understand your web site visitors.
6
+ Version: 6.1.0
7
  Author: HubSpot
8
  Author URI: http://www.hubspot.com
9
  License: GPL2
29
  define('LEADIN_DB_VERSION', '2.2.5');
30
 
31
  if (!defined('LEADIN_PLUGIN_VERSION'))
32
+ define('LEADIN_PLUGIN_VERSION', '6.1.0');
33
 
34
  if (!defined('LEADIN_SOURCE'))
35
  define('LEADIN_SOURCE', 'leadin.com');
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: leadin, sredmond, HubSpotDev
3
  Tags: crm, contacts, lead tracking, click tracking, visitor tracking, analytics, marketing automation, inbound marketing, subscription, marketing, lead generation, mailchimp, constant contact, newsletter, popup, popover, email list, email, contacts database, contact form, forms, form widget, popup form
4
  Requires at least: 3.7
5
  Tested up to: 4.6
6
- Stable tag: 6.0.0
7
 
8
  HubSpot Marketing Free is an easy-to-use contact form and marketing analytics plugin for your website that helps you better understand your website visitors.
9
 
@@ -63,8 +63,11 @@ Having trouble? Check out our <a href="https://leadin.hubspot.com/knowledge/" ta
63
 
64
  == Changelog ==
65
 
66
- - Current version: 6.0.0
67
- - Current version release: 2016-11-10
 
 
 
68
 
69
  = 6.0.0 (2016.11.10) =
70
  - Leadin is now HubSpot Marketing Free - learn more at http://www.hubspot.com/products/marketing/free
3
  Tags: crm, contacts, lead tracking, click tracking, visitor tracking, analytics, marketing automation, inbound marketing, subscription, marketing, lead generation, mailchimp, constant contact, newsletter, popup, popover, email list, email, contacts database, contact form, forms, form widget, popup form
4
  Requires at least: 3.7
5
  Tested up to: 4.6
6
+ Stable tag: 6.1.0
7
 
8
  HubSpot Marketing Free is an easy-to-use contact form and marketing analytics plugin for your website that helps you better understand your website visitors.
9
 
63
 
64
  == Changelog ==
65
 
66
+ - Current version: 6.1.0
67
+ - Current version release: 2016-11-16
68
+
69
+ = 6.1.0 (2016.11.16) =
70
+ - Fix an issue where accounts could not be disconnected
71
 
72
  = 6.0.0 (2016.11.10) =
73
  - Leadin is now HubSpot Marketing Free - learn more at http://www.hubspot.com/products/marketing/free