Version Description
- Updated: tracking class
Download this release
Release Info
Developer | Catapult_Themes |
Plugin | Cookie Consent |
Version | 2.3.6 |
Comparing to | |
See all releases |
Code changes from version 2.3.5 to 2.3.6
- readme.txt +4 -1
- tracking/class-plugin-usage-tracker.php +6 -6
- uk-cookie-consent.php +1 -1
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate Link: https://www.paypal.me/catapultthemes
|
|
4 |
Tags: cookie law, cookies, eu cookie law, eu privacy directive, cookie compliance, cookie law, cookie notice, cookie notification, wpml, geo ip
|
5 |
Requires at least: 4.3
|
6 |
Tested up to: 4.9.1
|
7 |
-
Stable tag: 2.3.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
The only cookie consent plugin you'll ever need.
|
@@ -71,6 +71,9 @@ You will find more details of the regulations on the [Information Commissioner's
|
|
71 |
|
72 |
== Changelog ==
|
73 |
|
|
|
|
|
|
|
74 |
= 2.3.5 =
|
75 |
* Fixed: removed debug code from main file
|
76 |
* Updated: tracking class
|
4 |
Tags: cookie law, cookies, eu cookie law, eu privacy directive, cookie compliance, cookie law, cookie notice, cookie notification, wpml, geo ip
|
5 |
Requires at least: 4.3
|
6 |
Tested up to: 4.9.1
|
7 |
+
Stable tag: 2.3.6
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
The only cookie consent plugin you'll ever need.
|
71 |
|
72 |
== Changelog ==
|
73 |
|
74 |
+
= 2.3.6 =
|
75 |
+
* Updated: tracking class
|
76 |
+
|
77 |
= 2.3.5 =
|
78 |
* Fixed: removed debug code from main file
|
79 |
* Updated: tracking class
|
tracking/class-plugin-usage-tracker.php
CHANGED
@@ -71,8 +71,6 @@ if( ! class_exists( 'Plugin_Usage_Tracker') ) {
|
|
71 |
$this->set_can_collect_email( true, $this->plugin_name );
|
72 |
}
|
73 |
|
74 |
-
$this->set_admin_email();
|
75 |
-
|
76 |
// Check whether opt-in is required
|
77 |
// If not, then tracking is allowed
|
78 |
if( ! $this->require_optin ) {
|
@@ -140,6 +138,8 @@ if( ! class_exists( 'Plugin_Usage_Tracker') ) {
|
|
140 |
if( ! $track_time ) {
|
141 |
return;
|
142 |
}
|
|
|
|
|
143 |
|
144 |
// Get our data
|
145 |
$body = $this->get_data();
|
@@ -587,9 +587,9 @@ if( ! class_exists( 'Plugin_Usage_Tracker') ) {
|
|
587 |
|
588 |
// @credit EDD
|
589 |
// Don't bother asking user to opt in if they're in local dev
|
590 |
-
|
591 |
-
|
592 |
-
|
593 |
|
594 |
// Display the notice requesting permission to track
|
595 |
// Retrieve current plugin information
|
@@ -636,7 +636,7 @@ if( ! class_exists( 'Plugin_Usage_Tracker') ) {
|
|
636 |
</p>
|
637 |
</div>
|
638 |
<?php
|
639 |
-
|
640 |
|
641 |
}
|
642 |
|
71 |
$this->set_can_collect_email( true, $this->plugin_name );
|
72 |
}
|
73 |
|
|
|
|
|
74 |
// Check whether opt-in is required
|
75 |
// If not, then tracking is allowed
|
76 |
if( ! $this->require_optin ) {
|
138 |
if( ! $track_time ) {
|
139 |
return;
|
140 |
}
|
141 |
+
|
142 |
+
$this->set_admin_email();
|
143 |
|
144 |
// Get our data
|
145 |
$body = $this->get_data();
|
587 |
|
588 |
// @credit EDD
|
589 |
// Don't bother asking user to opt in if they're in local dev
|
590 |
+
if ( stristr( network_site_url( '/' ), 'dev' ) !== false || stristr( network_site_url( '/' ), 'localhost' ) !== false || stristr( network_site_url( '/' ), ':8888' ) !== false ) {
|
591 |
+
$this->update_block_notice();
|
592 |
+
} else {
|
593 |
|
594 |
// Display the notice requesting permission to track
|
595 |
// Retrieve current plugin information
|
636 |
</p>
|
637 |
</div>
|
638 |
<?php
|
639 |
+
}
|
640 |
|
641 |
}
|
642 |
|
uk-cookie-consent.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Cookie Consent
|
4 |
Plugin URI: http://catapultthemes.com/cookie-consent/
|
5 |
Description: The only cookie consent plugin you'll ever need.
|
6 |
-
Version: 2.3.
|
7 |
Author: Catapult_Themes
|
8 |
Author URI: http://catapultthemes.com/
|
9 |
Text Domain: uk-cookie-consent
|
3 |
Plugin Name: Cookie Consent
|
4 |
Plugin URI: http://catapultthemes.com/cookie-consent/
|
5 |
Description: The only cookie consent plugin you'll ever need.
|
6 |
+
Version: 2.3.6
|
7 |
Author: Catapult_Themes
|
8 |
Author URI: http://catapultthemes.com/
|
9 |
Text Domain: uk-cookie-consent
|