Version Description
Download this release
Release Info
Developer | teamappsaloon |
Plugin | Cookiebot | GDPR Compliant Cookie Consent and Notice |
Version | 3.11.3 |
Comparing to | |
See all releases |
Code changes from version 3.11.2 to 3.11.3
addons/controller/addons/add-to-any/add-to-any.php
CHANGED
@@ -90,7 +90,12 @@ class Add_To_Any implements Cookiebot_Addons_Interface {
|
|
90 |
|
91 |
// External js, so manipulate attributes
|
92 |
if ( has_action( 'wp_enqueue_scripts', 'A2A_SHARE_SAVE_enqueue_script' ) ) {
|
|
|
93 |
$this->script_loader_tag->add_tag( 'addtoany', $this->get_cookie_types() );
|
|
|
|
|
|
|
|
|
94 |
}
|
95 |
|
96 |
add_filter( 'the_content', array(
|
90 |
|
91 |
// External js, so manipulate attributes
|
92 |
if ( has_action( 'wp_enqueue_scripts', 'A2A_SHARE_SAVE_enqueue_script' ) ) {
|
93 |
+
// add-to-any plugin version < 1.8.2
|
94 |
$this->script_loader_tag->add_tag( 'addtoany', $this->get_cookie_types() );
|
95 |
+
|
96 |
+
// add-to-any-plugin version >= 1.8.2
|
97 |
+
$this->script_loader_tag->add_tag( 'addtoany-core', $this->get_cookie_types() );
|
98 |
+
$this->script_loader_tag->add_tag( 'addtoany-jquery', $this->get_cookie_types() );
|
99 |
}
|
100 |
|
101 |
add_filter( 'the_content', array(
|
addons/tests/integration/addons/test-add-to-any.php
CHANGED
@@ -16,6 +16,9 @@ class Test_Add_To_Any extends Addons_Base {
|
|
16 |
$content = $this->curl_get_content( $url );
|
17 |
|
18 |
// test the content
|
19 |
-
$this->assertNotFalse( strpos( $content, "
|
|
|
|
|
|
|
20 |
}
|
21 |
-
}
|
16 |
$content = $this->curl_get_content( $url );
|
17 |
|
18 |
// test the content
|
19 |
+
$this->assertNotFalse( strpos( $content, "add_action( 'wp_enqueue_scripts', 'A2A_SHARE_SAVE_stylesheet'" ) );
|
20 |
+
$this->assertNotFalse( strpos( $content, "\$script_handle = 'addtoany-core';" ) );
|
21 |
+
$this->assertNotFalse( strpos( $content, "wp_enqueue_script( \$script_handle );" ) );
|
22 |
+
$this->assertNotFalse( strpos( $content, "wp_enqueue_script( 'addtoany-jquery'" ) );
|
23 |
}
|
24 |
+
}
|
cookiebot.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Cookiebot | GDPR/CCPA Compliant Cookie Consent and Control
|
|
4 |
Plugin URI: https://cookiebot.com/
|
5 |
Description: Cookiebot is a cloud-driven solution that automatically controls cookies and trackers, enabling full GDPR/ePrivacy and CCPA compliance for websites.
|
6 |
Author: Cybot A/S
|
7 |
-
Version: 3.11.
|
8 |
Author URI: http://cookiebot.com
|
9 |
Text Domain: cookiebot
|
10 |
Domain Path: /langs
|
@@ -23,7 +23,7 @@ if ( ! class_exists( 'Cookiebot_WP' ) ) :
|
|
23 |
* @var string
|
24 |
* @since 1.0.0
|
25 |
*/
|
26 |
-
public $version = '3.11.
|
27 |
|
28 |
/**
|
29 |
* @var Cookiebot_WP The single instance of the class
|
4 |
Plugin URI: https://cookiebot.com/
|
5 |
Description: Cookiebot is a cloud-driven solution that automatically controls cookies and trackers, enabling full GDPR/ePrivacy and CCPA compliance for websites.
|
6 |
Author: Cybot A/S
|
7 |
+
Version: 3.11.3
|
8 |
Author URI: http://cookiebot.com
|
9 |
Text Domain: cookiebot
|
10 |
Domain Path: /langs
|
23 |
* @var string
|
24 |
* @since 1.0.0
|
25 |
*/
|
26 |
+
public $version = '3.11.3';
|
27 |
|
28 |
/**
|
29 |
* @var Cookiebot_WP The single instance of the class
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Tags: cookie, compliance, eu, gdpr, europe, cookie consent, consent, ccpa
|
4 |
* Requires at least: 4.4
|
5 |
* Tested up to: 5.8.1
|
6 |
-
* Stable tag: 3.11.
|
7 |
* Requires PHP: 5.6
|
8 |
* License: GPLv2 or later
|
9 |
|
@@ -197,6 +197,10 @@ You are able to define the mapping between Cookiebot and the WP Consent API in t
|
|
197 |
|
198 |
## Changelog ##
|
199 |
|
|
|
|
|
|
|
|
|
200 |
### 3.11.2 - 2021-11-17 ###
|
201 |
* Updated CookieBot logo on settings page + network settings page
|
202 |
|
3 |
* Tags: cookie, compliance, eu, gdpr, europe, cookie consent, consent, ccpa
|
4 |
* Requires at least: 4.4
|
5 |
* Tested up to: 5.8.1
|
6 |
+
* Stable tag: 3.11.3
|
7 |
* Requires PHP: 5.6
|
8 |
* License: GPLv2 or later
|
9 |
|
197 |
|
198 |
## Changelog ##
|
199 |
|
200 |
+
### 3.11.3 - 2021-11-25 ###
|
201 |
+
* Updated tests for add-to-any plugin version >= 1.8.2
|
202 |
+
* Added support for blocking the new script handles for add-to-any plugin version >= 1.8.2
|
203 |
+
|
204 |
### 3.11.2 - 2021-11-17 ###
|
205 |
* Updated CookieBot logo on settings page + network settings page
|
206 |
|