Cookiebot | GDPR Compliant Cookie Consent and Notice - Version 3.6.1

Version Description

Download this release

Release Info

Developer cookiebot
Plugin Icon 128x128 Cookiebot | GDPR Compliant Cookie Consent and Notice
Version 3.6.1
Comparing to
See all releases

Code changes from version 3.6.0 to 3.6.1

addons/cookiebot-addons-init.php CHANGED
@@ -23,7 +23,7 @@ define( 'COOKIEBOT_ADDONS_BASE_NAME', dirname( plugin_basename( __FILE__ ) ) );
23
  /**
24
  * Same version as the CookiebotWP
25
  */
26
- define( 'COOKIEBOT_ADDONS_VERSION', '3.6.0' );
27
 
28
  /**
29
  * Register autoloader to load files/classes dynamically
23
  /**
24
  * Same version as the CookiebotWP
25
  */
26
+ define( 'COOKIEBOT_ADDONS_VERSION', '3.6.1' );
27
 
28
  /**
29
  * Register autoloader to load files/classes dynamically
addons/tests/integration/addons/test-facebook-for-woocommerce.php CHANGED
@@ -25,23 +25,15 @@ class Test_Facebook_For_Woocommerce extends \WP_UnitTestCase {
25
  $content = file_get_contents( 'https://raw.githubusercontent.com/facebookincubator/facebook-for-woocommerce/master/facebook-commerce-events-tracker.php' );
26
 
27
  $this->assertNotFalse( strpos( $content, 'add_action( \'wp_head\', array( $this, \'apply_filters\' ) );' ) );
28
- $this->assertNotFalse( strpos( $content, 'add_action(
29
- \'woocommerce_after_single_product\',' ) );
30
- $this->assertNotFalse( strpos( $content, 'add_action(
31
- \'woocommerce_after_shop_loop\',' ) );
32
- $this->assertNotFalse( strpos( $content, 'add_action(
33
- \'pre_get_posts\',' ) );
34
- $this->assertNotFalse( strpos( $content, 'add_action(
35
- \'woocommerce_after_cart\',' ) );
36
- $this->assertNotFalse( strpos( $content, 'add_action(
37
- \'woocommerce_add_to_cart\',' ) );
38
- $this->assertNotFalse( strpos( $content, 'add_action(
39
- \'wc_ajax_fb_inject_add_to_cart_event\',' ) );
40
- $this->assertNotFalse( strpos( $content, 'add_action(
41
- \'woocommerce_after_checkout_form\',' ) );
42
- $this->assertNotFalse( strpos( $content, 'add_action(
43
- \'woocommerce_thankyou\',' ) );
44
- $this->assertNotFalse( strpos( $content, 'add_action(
45
- \'woocommerce_payment_complete\',' ) );
46
  }
47
  }
25
  $content = file_get_contents( 'https://raw.githubusercontent.com/facebookincubator/facebook-for-woocommerce/master/facebook-commerce-events-tracker.php' );
26
 
27
  $this->assertNotFalse( strpos( $content, 'add_action( \'wp_head\', array( $this, \'apply_filters\' ) );' ) );
28
+ $this->assertNotFalse( strpos( $content, 'add_action( \'woocommerce_after_single_product\', [ $this, \'inject_view_content_event\' ] );' ) );
29
+ $this->assertNotFalse( strpos( $content, 'array( $this, \'inject_view_category_event\' )' ) );
30
+ $this->assertNotFalse( strpos( $content, 'array( $this, \'inject_search_event\' )' ) );
31
+ $this->assertNotFalse( strpos( $content, 'add_action( \'woocommerce_add_to_cart\', [ $this, \'inject_add_to_cart_event\' ], 40, 4 );' ) );
32
+ $this->assertNotFalse( strpos( $content, 'add_action( \'woocommerce_ajax_added_to_cart\', [ $this, \'add_filter_for_add_to_cart_fragments\' ] );' ) );
33
+ $this->assertNotFalse( strpos( $content, 'array( $this, \'inject_initiate_checkout_event\' )' ) );
34
+ $this->assertNotFalse( strpos( $content, 'array( $this, \'inject_gateway_purchase_event\' ),' ) );
35
+ $this->assertNotFalse( strpos( $content, 'array( $this, \'inject_purchase_event\' ),' ) );
36
+ $this->assertNotFalse( strpos( $content, 'const FB_PRIORITY_LOW = 11;' ) );
37
+ $this->assertNotFalse( strpos( $content, 'const FB_PRIORITY_HIGH = 2;' ) );
 
 
 
 
 
 
 
 
38
  }
39
  }
addons/tests/integration/addons/test-hubspot-leadin.php CHANGED
@@ -14,8 +14,8 @@ class Test_Hubspot_Leadin extends \WP_UnitTestCase {
14
  * @since 2.1.0
15
  */
16
  public function test_hook() {
17
- $content = file_get_contents( 'http://plugins.svn.wordpress.org/leadin/trunk/main/ClassLeadin.php' );
18
 
19
- $this->assertNotFalse( strpos( $content, "const TRACKING_CODE_ID = 'leadin-script-loader-js';") );
20
  }
21
  }
14
  * @since 2.1.0
15
  */
16
  public function test_hook() {
17
+ $content = file_get_contents( 'http://plugins.svn.wordpress.org/leadin/trunk/src/class-assetsmanager.php' );
18
 
19
+ $this->assertNotFalse( strpos( $content, "const TRACKING_CODE = 'leadin-script-loader-js';") );
20
  }
21
  }
addons/view/admin/settings/setting-page.php CHANGED
@@ -33,7 +33,7 @@
33
  else {
34
  ?>
35
  <?php if ( isset( $_GET['tab'] ) ) {
36
- $active_tab = $_GET['tab'];
37
  } else if ( $active_tab == 'unavailable_addons' ) {
38
  $active_tab = 'unavailable_addons';
39
  } else {
33
  else {
34
  ?>
35
  <?php if ( isset( $_GET['tab'] ) ) {
36
+ $active_tab = esc_attr( $_GET['tab'] );
37
  } else if ( $active_tab == 'unavailable_addons' ) {
38
  $active_tab = 'unavailable_addons';
39
  } else {
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.6.0
8
  Author URI: http://cookiebot.com
9
  Text Domain: cookiebot
10
  Domain Path: /langs
@@ -21,7 +21,7 @@ final class Cookiebot_WP {
21
  * @var string
22
  * @since 1.0.0
23
  */
24
- public $version = '3.6.0';
25
 
26
  /**
27
  * @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.6.1
8
  Author URI: http://cookiebot.com
9
  Text Domain: cookiebot
10
  Domain Path: /langs
21
  * @var string
22
  * @since 1.0.0
23
  */
24
+ public $version = '3.6.1';
25
 
26
  /**
27
  * @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.3.2
6
- * Stable tag: 3.6.0
7
  * Requires PHP: 5.6
8
  * License: GPLv2 or later
9
 
@@ -190,6 +190,10 @@ You are able to define the mapping between Cookiebot and the WP Consent API in t
190
 
191
  ## Changelog ##
192
 
 
 
 
 
193
  ### 3.6.0 - 2020-02-18 ###
194
  * Adding Debugging submenu
195
  * Update GADWP addon to support newest version of plugin
3
  * Tags: cookie, compliance, eu, gdpr, europe, cookie consent, consent, ccpa
4
  * Requires at least: 4.4
5
  * Tested up to: 5.3.2
6
+ * Stable tag: 3.6.1
7
  * Requires PHP: 5.6
8
  * License: GPLv2 or later
9
 
190
 
191
  ## Changelog ##
192
 
193
+ ### 3.6.1 - 2020-03-12 ###
194
+ * Fix security issue - possible XSS
195
+ * Update tests for addons
196
+
197
  ### 3.6.0 - 2020-02-18 ###
198
  * Adding Debugging submenu
199
  * Update GADWP addon to support newest version of plugin