iubenda Cookie Solution for GDPR - Version 3.1.2

Version Description

  • Fix issue in radar score after resetting plugin data
Download this release

Release Info

Developer iubenda
Plugin Icon 128x128 iubenda Cookie Solution for GDPR
Version 3.1.2
Comparing to
See all releases

Code changes from version 3.1.1 to 3.1.2

includes/RadarService.php CHANGED
@@ -45,7 +45,7 @@ class RadarService {
45
  public function calculate_radar_percentage(){
46
  $services['pp'] = $this->serviceRating->is_privacy_policy_activated();
47
  $services['cs'] = $this->serviceRating->is_cookie_solution_activated();
48
- $services['cons'] = $this->serviceRating->is_cookie_solution_configured();
49
  $services['tc'] = $this->serviceRating->is_terms_conditions_activated();
50
 
51
  return [
45
  public function calculate_radar_percentage(){
46
  $services['pp'] = $this->serviceRating->is_privacy_policy_activated();
47
  $services['cs'] = $this->serviceRating->is_cookie_solution_activated();
48
+ $services['cons'] = boolval($this->serviceRating->is_cookie_solution_activated() && $this->serviceRating->is_cookie_solution_automatically_parse_enabled());
49
  $services['tc'] = $this->serviceRating->is_terms_conditions_activated();
50
 
51
  return [
includes/ServiceRating.php CHANGED
@@ -25,7 +25,7 @@ class ServiceRating {
25
  return false;
26
  }
27
 
28
- public function is_cookie_solution_configured(){
29
  if((bool) iub_array_get(iubenda()->options, 'cs.parse') == true){
30
  return true;
31
  }
@@ -70,7 +70,7 @@ class ServiceRating {
70
  return $this->is_cookie_solution_activated();
71
  }
72
  if($service == 'cons'){
73
- return $this->is_cookie_solution_configured();
74
  }
75
  if($service == 'pp'){
76
  return $this->is_privacy_policy_activated();
@@ -85,7 +85,7 @@ class ServiceRating {
85
  public function services_percentage(){
86
  $services['pp'] = $this->is_privacy_policy_activated();
87
  $services['cs'] = $this->is_cookie_solution_activated();
88
- $services['cons'] = $this->is_cookie_solution_activated() ? $this->is_cookie_solution_configured() : false;
89
  $services['tc'] = $this->is_terms_conditions_activated();
90
 
91
  return (count(array_filter($services)) / count($services)) * 100;
@@ -99,7 +99,7 @@ class ServiceRating {
99
  'paragraph'=> __('This accounts for 25% of your score. Your cookie banner should inform your users about your use of cookies and similar tracking technologies, and their rights in this regard. You may need a banner if either the GDPR, CCPA or ePrivacy apply to you.', 'iubenda')
100
  ],
101
  'cons' => [
102
- 'status' => $this->is_cookie_solution_activated() ? $this->is_cookie_solution_configured() : false,
103
  'label' => __('Only track users that give consent', 'iubenda'),
104
  'paragraph'=> __('This accounts for 25% of your score. If you’re based in Europe or have Europe-based users, you likely need to block cookies from running until you receive user consent. To do this, select “Automatically block scripts detected by the plugin”.', 'iubenda')
105
  ],
25
  return false;
26
  }
27
 
28
+ public function is_cookie_solution_automatically_parse_enabled(){
29
  if((bool) iub_array_get(iubenda()->options, 'cs.parse') == true){
30
  return true;
31
  }
70
  return $this->is_cookie_solution_activated();
71
  }
72
  if($service == 'cons'){
73
+ return $this->is_cookie_solution_automatically_parse_enabled();
74
  }
75
  if($service == 'pp'){
76
  return $this->is_privacy_policy_activated();
85
  public function services_percentage(){
86
  $services['pp'] = $this->is_privacy_policy_activated();
87
  $services['cs'] = $this->is_cookie_solution_activated();
88
+ $services['cons'] = boolval($this->is_cookie_solution_activated() && $this->is_cookie_solution_automatically_parse_enabled());
89
  $services['tc'] = $this->is_terms_conditions_activated();
90
 
91
  return (count(array_filter($services)) / count($services)) * 100;
99
  'paragraph'=> __('This accounts for 25% of your score. Your cookie banner should inform your users about your use of cookies and similar tracking technologies, and their rights in this regard. You may need a banner if either the GDPR, CCPA or ePrivacy apply to you.', 'iubenda')
100
  ],
101
  'cons' => [
102
+ 'status' => boolval($this->is_cookie_solution_activated() && $this->is_cookie_solution_automatically_parse_enabled()),
103
  'label' => __('Only track users that give consent', 'iubenda'),
104
  'paragraph'=> __('This accounts for 25% of your score. If you’re based in Europe or have Europe-based users, you likely need to block cookies from running until you receive user consent. To do this, select “Automatically block scripts detected by the plugin”.', 'iubenda')
105
  ],
iubenda_cookie_solution.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Cookie and Consent Solution for the GDPR & ePrivacy
4
  Plugin URI: https://www.iubenda.com
5
  Description: An All-in-One approach developed by iubenda, which includes functionalities of two powerful solutions that help to make your website GDPR and ePrivacy compliant.
6
- Version: 3.1.1
7
  Author: iubenda
8
  Author URI: https://www.iubenda.com
9
  License: MIT License
@@ -34,7 +34,7 @@ define( 'IUB_DEBUG', false );
34
  * @property-read iubenda_Settings $settings
35
  *
36
  * @class iubenda
37
- * @version 3.1.1
38
  */
39
  class iubenda {
40
 
@@ -92,7 +92,7 @@ class iubenda {
92
  )
93
  );
94
  public $base_url;
95
- public $version = '3.1.1';
96
  public $activation = array(
97
  'update_version' => 0,
98
  'update_notice' => true,
3
  Plugin Name: Cookie and Consent Solution for the GDPR & ePrivacy
4
  Plugin URI: https://www.iubenda.com
5
  Description: An All-in-One approach developed by iubenda, which includes functionalities of two powerful solutions that help to make your website GDPR and ePrivacy compliant.
6
+ Version: 3.1.2
7
  Author: iubenda
8
  Author URI: https://www.iubenda.com
9
  License: MIT License
34
  * @property-read iubenda_Settings $settings
35
  *
36
  * @class iubenda
37
+ * @version 3.1.2
38
  */
39
  class iubenda {
40
 
92
  )
93
  );
94
  public $base_url;
95
+ public $version = '3.1.2';
96
  public $activation = array(
97
  'update_version' => 0,
98
  'update_notice' => true,
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: cookie banner, cookie law, eprivacy, gdpr, ukgdpr, ccpa, caloppa, lgpd, ds
5
  Requires at least: 5.0
6
  Requires PHP: 7.0.0
7
  Tested up to: 6.0
8
- Stable tag: 3.1.1
9
  License: MIT License
10
  License URI: http://opensource.org/licenses/MIT
11
 
@@ -41,12 +41,12 @@ This all-in-one plugin lets you integrate all iubenda compliance solutions in a
41
 
42
  They’re auto-updated when the law changes so that they’re always up-to-date and our built-in site scanner runs periodic scans on your site and alerts you if it detects something that should be added to your compliance documents.
43
 
44
- **All solutions support the GDPR (DSGVO, RGPD), UK-GDPR, ePrivacy, LGPD, CCPA, CalOPPA, PECR and more.**
45
 
46
 
47
  == Cookie Solution ==
48
 
49
- Includes cookie banner/notice, and cookie consent management (blocking scripts until consent is collected as legally required). Free basic setup and full CCPA support.
50
 
51
  * Easy and guided set-up: **Analyzes your site and auto-configures everything** to make set-up as easy as possible.
52
  * **Fully customizable cookie banner** - change functionality, design, location, colors, add your logo and more.
@@ -57,7 +57,7 @@ Includes cookie banner/notice, and cookie consent management (blocking scripts u
57
  * **Google Consent Mode** support.
58
  * Integrates with IAB’s [Transparency and Consent Framework](https://www.iubenda.com/en/help/7440-enable-preference-management-iab-framework#revenue) (**TCF**) to maximize ad revenue (needed if your site uses ad networks like Google ads and more)
59
  * Compatible with **Google’s Accelerated Mobile Pages** (AMP)
60
- * Allows you to autodetect and **limit prior-blocking and cookie consent requests only to users from the EU** – where this is a legal requirement – while running cookies scripts normally in regions where you are still legally allowed to do so.
61
  * Features an **easy-to-use interface for entering custom scripts** and iframes
62
  * Cookie database feature allows you to auto-set **cookie lifetime information**.
63
  * **Display CCPA notice and opt-out link as required by the** [**California Consumer Privacy Act**](https://www.iubenda.com/en/help/21165-ccpa-how-to-add-a-notice-of-collection-and-a-do-not-sell-link)
@@ -157,7 +157,7 @@ You can access our friendly support in multiple languages (currently EN, IT, DE,
157
  2. Easily customize your cookie banner & consent settings to suit your branding and needs
158
  3. Cookie banner? Yes, but not only. Meet all the requirements
159
  4. If you're already one of 1 M+ iubenda users you can integrate all solutions with WordPress in minutes
160
- 5. Capture, store and manage GDPR consent records for your webforms
161
  6. Auto-detects and blocks all the most common trackers prior to consent
162
 
163
  == Frequently Asked Questions ==
@@ -181,7 +181,7 @@ A good rule of thumb is to always comply with the laws of the region where you a
181
 
182
  = Do I really need a cookie banner or cookie notice? =
183
 
184
- If you’re based in Europe – including the UK – or target European users, and your website uses [cookies or trackers](https://www.iubenda.com/en/help/22419-how-to-identify-the-cookies-used-by-your-website) (which it most likely does), then, yes, you do need a cookie notice.
185
 
186
  = Why do I need a privacy policy? =
187
 
@@ -248,12 +248,15 @@ The document:
248
 
249
  = What is the LGPD? =
250
 
251
- The Brazilian General Data Protection Law, the ***Lei Geral de Proteção de Dados Pessoais***, (LGPD) can be considered as Brazil’s answer to the GDPR – with the Brazilian law aligning with the European Regulation in many ways, while differing in others. [You can learn more about it here](https://www.iubenda.com/en/help/26706-lgpd-guide).
252
 
253
  * * *
254
 
255
  == Changelog ==
256
 
 
 
 
257
  = 3.1.1 =
258
  * Revert: Add the ability to include PP and TC buttons for default WP
259
 
@@ -701,5 +704,5 @@ The Brazilian General Data Protection Law, the ***Lei Geral de Proteção de Dad
701
 
702
  == Upgrade Notice ==
703
 
704
- = 3.1.1 =
705
- * Revert: Add the ability to include PP and TC buttons for default WP
5
  Requires at least: 5.0
6
  Requires PHP: 7.0.0
7
  Tested up to: 6.0
8
+ Stable tag: 3.1.2
9
  License: MIT License
10
  License URI: http://opensource.org/licenses/MIT
11
 
41
 
42
  They’re auto-updated when the law changes so that they’re always up-to-date and our built-in site scanner runs periodic scans on your site and alerts you if it detects something that should be added to your compliance documents.
43
 
44
+ **Our solutions support the GDPR (DSGVO, RGPD), UK-GDPR, ePrivacy, LGPD, CCPA, CalOPPA, PECR and more.**
45
 
46
 
47
  == Cookie Solution ==
48
 
49
+ Includes cookie banner/CCPA notice, and cookie consent management (blocking scripts until consent is collected as legally required). Free basic setup and full CCPA support.
50
 
51
  * Easy and guided set-up: **Analyzes your site and auto-configures everything** to make set-up as easy as possible.
52
  * **Fully customizable cookie banner** - change functionality, design, location, colors, add your logo and more.
57
  * **Google Consent Mode** support.
58
  * Integrates with IAB’s [Transparency and Consent Framework](https://www.iubenda.com/en/help/7440-enable-preference-management-iab-framework#revenue) (**TCF**) to maximize ad revenue (needed if your site uses ad networks like Google ads and more)
59
  * Compatible with **Google’s Accelerated Mobile Pages** (AMP)
60
+ * Allows you to auto-detect and **limit prior-blocking and cookie consent requests only to users from the EU** – where this is a legal requirement – while running cookies scripts normally in regions where you are still legally allowed to do so.
61
  * Features an **easy-to-use interface for entering custom scripts** and iframes
62
  * Cookie database feature allows you to auto-set **cookie lifetime information**.
63
  * **Display CCPA notice and opt-out link as required by the** [**California Consumer Privacy Act**](https://www.iubenda.com/en/help/21165-ccpa-how-to-add-a-notice-of-collection-and-a-do-not-sell-link)
157
  2. Easily customize your cookie banner & consent settings to suit your branding and needs
158
  3. Cookie banner? Yes, but not only. Meet all the requirements
159
  4. If you're already one of 1 M+ iubenda users you can integrate all solutions with WordPress in minutes
160
+ 5. Capture, store and manage GDPR & LGPD consent records for your webforms
161
  6. Auto-detects and blocks all the most common trackers prior to consent
162
 
163
  == Frequently Asked Questions ==
181
 
182
  = Do I really need a cookie banner or cookie notice? =
183
 
184
+ If you’re based in the European Union – including the UK – or target EU users, and your website uses [cookies or trackers](https://www.iubenda.com/en/help/22419-how-to-identify-the-cookies-used-by-your-website) (which it most likely does), then, yes, you do need a cookie notice.
185
 
186
  = Why do I need a privacy policy? =
187
 
248
 
249
  = What is the LGPD? =
250
 
251
+ The Brazilian General Data Protection Law, the ***Lei Geral de Proteção de Dados Pessoais***, (LGPD) can be considered as Brazil’s answer to the GDPR – with the Brazilian law aligning with the EU Regulation in many ways, while differing in others. [You can learn more about it here](https://www.iubenda.com/en/help/26706-lgpd-guide).
252
 
253
  * * *
254
 
255
  == Changelog ==
256
 
257
+ = 3.1.2 =
258
+ * Fix issue in radar score after resetting plugin data
259
+
260
  = 3.1.1 =
261
  * Revert: Add the ability to include PP and TC buttons for default WP
262
 
704
 
705
  == Upgrade Notice ==
706
 
707
+ = 3.1.2 =
708
+ * Fix issue in radar score after resetting plugin data