HubSpot – Free Marketing Plugin for WordPress - Version 3.1.5

Version Description

(2015.03.20) = - Bug fixes - Changed out call to DIR magic constant which wasnt implemented until PHP 5.3 in favor of dirname(FILE)

Download this release

Release Info

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

Code changes from version 3.1.4 to 3.1.5

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: 3.1.4
7
  Author: Andy Cook, Nelson Joyce
8
  Author URI: http://leadin.com
9
  License: GPL2
@@ -26,7 +26,7 @@ if ( !defined('LEADIN_DB_VERSION') )
26
  define('LEADIN_DB_VERSION', '2.2.4');
27
 
28
  if ( !defined('LEADIN_PLUGIN_VERSION') )
29
- define('LEADIN_PLUGIN_VERSION', '3.1.4');
30
 
31
  if ( !defined('MIXPANEL_PROJECT_TOKEN') )
32
  define('MIXPANEL_PROJECT_TOKEN', '2791b6942b57bbef2ba12b2452468253');
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: 3.1.5
7
  Author: Andy Cook, Nelson Joyce
8
  Author URI: http://leadin.com
9
  License: GPL2
26
  define('LEADIN_DB_VERSION', '2.2.4');
27
 
28
  if ( !defined('LEADIN_PLUGIN_VERSION') )
29
+ define('LEADIN_PLUGIN_VERSION', '3.1.5');
30
 
31
  if ( !defined('MIXPANEL_PROJECT_TOKEN') )
32
  define('MIXPANEL_PROJECT_TOKEN', '2791b6942b57bbef2ba12b2452468253');
lib/segment/lib/Segment/Client.php CHANGED
@@ -1,10 +1,10 @@
1
  <?php
2
 
3
- require(__DIR__ . '/Consumer.php');
4
- require(__DIR__ . '/QueueConsumer.php');
5
- require(__DIR__ . '/Consumer/File.php');
6
- require(__DIR__ . '/Consumer/ForkCurl.php');
7
- require(__DIR__ . '/Consumer/Socket.php');
8
 
9
  class Segment_Client {
10
 
1
  <?php
2
 
3
+ require(dirname(__FILE__) . '/Consumer.php');
4
+ require(dirname(__FILE__) . '/QueueConsumer.php');
5
+ require(dirname(__FILE__) . '/Consumer/File.php');
6
+ require(dirname(__FILE__) . '/Consumer/ForkCurl.php');
7
+ require(dirname(__FILE__) . '/Consumer/Socket.php');
8
 
9
  class Segment_Client {
10
 
lib/segment/send.php CHANGED
@@ -4,7 +4,7 @@
4
  * require client
5
  */
6
 
7
- require(__DIR__ . "/lib/Segment.php");
8
 
9
  /**
10
  * Args
@@ -20,7 +20,7 @@ if (!isset($args["secret"])) die("--secret must be given");
20
  if (!isset($args["file"])) die("--file must be given");
21
 
22
  $file = $args["file"];
23
- if ($file[0] != '/') $file = __DIR__ . "/" . $file;
24
 
25
  /**
26
  * Rename the file so we don't write the same calls
4
  * require client
5
  */
6
 
7
+ require(dirname(__FILE__) . "/lib/Segment.php");
8
 
9
  /**
10
  * Args
20
  if (!isset($args["file"])) die("--file must be given");
21
 
22
  $file = $args["file"];
23
+ if ($file[0] != '/') $file = dirname(__FILE__) . "/" . $file;
24
 
25
  /**
26
  * Rename the file so we don't write the same calls
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: andygcook, nelsonjoyce
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.1.1
6
- Stable tag: 3.1.4
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
 
@@ -68,8 +68,12 @@ Having trouble? Check out our <a href="http://support.leadin.com/" target="_blan
68
 
69
  == Changelog ==
70
 
71
- - Current version: 3.1.4
72
- - Current version release: 2015-03-17
 
 
 
 
73
 
74
  = 3.1.4 (2015.03.17) =
75
  = Enhancements =
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.1.1
6
+ Stable tag: 3.1.5
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
 
68
 
69
  == Changelog ==
70
 
71
+ - Current version: 3.1.5
72
+ - Current version release: 2015-03-20
73
+
74
+ = 3.1.5 (2015.03.20) =
75
+ - Bug fixes
76
+ - Changed out call to __DIR__ magic constant which wasn’t implemented until PHP 5.3 in favor of dirname(__FILE__)
77
 
78
  = 3.1.4 (2015.03.17) =
79
  = Enhancements =