Cookiebot | GDPR Compliant Cookie Consent and Notice - Version 3.4.2

Version Description

Download this release

Release Info

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

Code changes from version 3.4.1 to 3.4.2

Files changed (3) hide show
  1. addons/cookiebot-addons-init.php +1 -1
  2. cookiebot.php +11 -2
  3. readme.txt +5 -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.4.1' );
27
 
28
  /**
29
  * Register autoloader to load files/classes dynamically
23
  /**
24
  * Same version as the CookiebotWP
25
  */
26
+ define( 'COOKIEBOT_ADDONS_VERSION', '3.4.2' );
27
 
28
  /**
29
  * Register autoloader to load files/classes dynamically
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.4.1
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.4.1';
25
 
26
  /**
27
  * @var Cookiebot_WP The single instance of the class
@@ -1055,12 +1055,21 @@ final class Cookiebot_WP {
1055
  * @return bool
1056
  *
1057
  * @since 3.3.1
 
1058
  */
1059
  function can_current_user_edit_theme() {
1060
  if( is_user_logged_in() ) {
1061
  if( current_user_can('edit_themes') ) {
1062
  return true;
1063
  }
 
 
 
 
 
 
 
 
1064
  }
1065
 
1066
  return false;
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.4.2
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.4.2';
25
 
26
  /**
27
  * @var Cookiebot_WP The single instance of the class
1055
  * @return bool
1056
  *
1057
  * @since 3.3.1
1058
+ * @version 3.4.1
1059
  */
1060
  function can_current_user_edit_theme() {
1061
  if( is_user_logged_in() ) {
1062
  if( current_user_can('edit_themes') ) {
1063
  return true;
1064
  }
1065
+
1066
+ if( current_user_can( 'edit_pages' ) ) {
1067
+ return true;
1068
+ }
1069
+
1070
+ if( current_user_can( 'edit_posts' ) ) {
1071
+ return true;
1072
+ }
1073
  }
1074
 
1075
  return false;
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.2
6
- * Stable tag: 3.4.1
7
  * Requires PHP: 5.6
8
  * License: GPLv2 or later
9
 
@@ -185,6 +185,10 @@ Cookiebot works with GTM, however you need to enable the "Hide Cookie Popup" opt
185
 
186
  ## Changelog ##
187
 
 
 
 
 
188
  ### 3.4.1 - 2020-01-28 ###
189
  * Removing manual fixes for Cookiebot when in auto
190
  * Adjustments and updates to addons
3
  * Tags: cookie, compliance, eu, gdpr, europe, cookie consent, consent, ccpa
4
  * Requires at least: 4.4
5
  * Tested up to: 5.2
6
+ * Stable tag: 3.4.2
7
  * Requires PHP: 5.6
8
  * License: GPLv2 or later
9
 
185
 
186
  ## Changelog ##
187
 
188
+
189
+ ### 3.4.2 - 2020-02-06 ###
190
+ * Fix for DIVI editor
191
+
192
  ### 3.4.1 - 2020-01-28 ###
193
  * Removing manual fixes for Cookiebot when in auto
194
  * Adjustments and updates to addons