HubSpot – Free Marketing Plugin for WordPress - Version 4.3.0

Version Description

(2015.09.30) = - Load time improvements to the tracking script

Download this release

Release Info

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

Code changes from version 4.2.3 to 4.3.0

Files changed (3) hide show
  1. inc/class-leadin.php +3 -3
  2. leadin.php +3 -3
  3. readme.txt +7 -4
inc/class-leadin.php CHANGED
@@ -44,7 +44,7 @@ class WPLeadIn {
44
  function add_leadin_frontend_scripts ()
45
  {
46
 
47
- add_filter('script_loader_tag', array($this, 'leadin_add_crossorigin_attribute'), 10, 2);
48
 
49
  $embedDomain = constant('LEADIN_EMBED_DOMAIN');
50
  $portalId = get_option('leadin_portalId');
@@ -81,11 +81,11 @@ class WPLeadIn {
81
  wp_enqueue_script('leadin-embed-js');
82
  }
83
 
84
- function leadin_add_crossorigin_attribute ( $tag, $handle ) {
85
  if ('leadin-embed-js' !== $handle)
86
  return $tag;
87
  else
88
- return str_replace(' src', 'crossorigin="use-credentials" src', $tag);
89
  }
90
 
91
  /**
44
  function add_leadin_frontend_scripts ()
45
  {
46
 
47
+ add_filter('script_loader_tag', array($this, 'leadin_add_embed_script_attributes'), 10, 2);
48
 
49
  $embedDomain = constant('LEADIN_EMBED_DOMAIN');
50
  $portalId = get_option('leadin_portalId');
81
  wp_enqueue_script('leadin-embed-js');
82
  }
83
 
84
+ function leadin_add_embed_script_attributes ( $tag, $handle ) {
85
  if ('leadin-embed-js' !== $handle)
86
  return $tag;
87
  else
88
+ return str_replace(' src', ' async defer crossorigin="use-credentials" src', $tag);
89
  }
90
 
91
  /**
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: 4.2.3
7
  Author: Leadin
8
  Author URI: http://leadin.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', '4.2.3');
33
 
34
  if ( !defined('LEADIN_SOURCE') )
35
  define('LEADIN_SOURCE', 'leadin.com');
@@ -217,4 +217,4 @@ if ( is_admin() )
217
  add_action('wpmu_new_blog', 'activate_leadin_on_new_blog', 10, 6);
218
  }
219
 
220
- ?>
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: 4.3.0
7
  Author: Leadin
8
  Author URI: http://leadin.com
9
  License: GPL2
29
  define('LEADIN_DB_VERSION', '2.2.5');
30
 
31
  if ( !defined('LEADIN_PLUGIN_VERSION') )
32
+ define('LEADIN_PLUGIN_VERSION', '4.3.0');
33
 
34
  if ( !defined('LEADIN_SOURCE') )
35
  define('LEADIN_SOURCE', 'leadin.com');
217
  add_action('wpmu_new_blog', 'activate_leadin_on_new_blog', 10, 6);
218
  }
219
 
220
+ ?>
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: leadin, sredmond
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.3
6
- Stable tag: 4.2.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
 
@@ -55,7 +55,7 @@ Having trouble? Check out our <a href="http://support.leadin.com/">help document
55
  Having trouble? Check out our <a href="http://support.leadin.com/" target="_blank">help documentation & support</a>
56
 
57
  == Frequently Asked Questions ==
58
- = <a href="http://support.leadin.com/article/13-frequently-asked-questions" target="_blank">Full FAQ Here</a> =
59
 
60
  == Screenshots ==
61
 
@@ -67,8 +67,11 @@ Having trouble? Check out our <a href="http://support.leadin.com/" target="_blan
67
 
68
  == Changelog ==
69
 
70
- - Current version: 4.2.3
71
- - Current version release: 2015-08-20
 
 
 
72
 
73
  = 4.2.3 (2015.08.20) =
74
  - Support widget improvements
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.3
6
+ Stable tag: 4.3.0
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
 
55
  Having trouble? Check out our <a href="http://support.leadin.com/" target="_blank">help documentation & support</a>
56
 
57
  == Frequently Asked Questions ==
58
+ = <a href="http://support.leadin.com/hc/en-us/articles/204965719-Frequently-Asked-Questions" target="_blank">Full FAQ Here</a> =
59
 
60
  == Screenshots ==
61
 
67
 
68
  == Changelog ==
69
 
70
+ - Current version: 4.3.0
71
+ - Current version release: 2015-09-30
72
+
73
+ = 4.3.0 (2015.09.30) =
74
+ - Load time improvements to the tracking script
75
 
76
  = 4.2.3 (2015.08.20) =
77
  - Support widget improvements