Cookie Notice by dFactory - Version 2.1.4

Version Description

  • Fix: Wordpress 5.8 widgets compatibility
Download this release

Release Info

Developer dfactory
Plugin Icon 128x128 Cookie Notice by dFactory
Version 2.1.4
Comparing to
See all releases

Code changes from version 2.1.3 to 2.1.4

Files changed (4) hide show
  1. cookie-notice.php +3 -3
  2. includes/frontend.php +4 -2
  3. includes/welcome.php +1 -1
  4. readme.txt +83 -20
cookie-notice.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: Cookie Notice & Compliance for GDPR / CCPA
4
  Description: Cookie Notice allows you to you elegantly inform users that your site uses cookies and helps you comply with GDPR, CCPA and other data privacy laws.
5
- Version: 2.1.3
6
  Author: Hu-manity.co
7
  Author URI: https://hu-manity.co/
8
  Plugin URI: https://hu-manity.co/
@@ -29,7 +29,7 @@ if ( ! defined( 'ABSPATH' ) )
29
  * Cookie Notice class.
30
  *
31
  * @class Cookie_Notice
32
- * @version 2.1.3
33
  */
34
  class Cookie_Notice {
35
 
@@ -85,7 +85,7 @@ class Cookie_Notice {
85
  'update_notice' => true,
86
  'update_delay_date' => 0
87
  ),
88
- 'version' => '2.1.3'
89
  );
90
 
91
  private static $_instance;
2
  /*
3
  Plugin Name: Cookie Notice & Compliance for GDPR / CCPA
4
  Description: Cookie Notice allows you to you elegantly inform users that your site uses cookies and helps you comply with GDPR, CCPA and other data privacy laws.
5
+ Version: 2.1.4
6
  Author: Hu-manity.co
7
  Author URI: https://hu-manity.co/
8
  Plugin URI: https://hu-manity.co/
29
  * Cookie Notice class.
30
  *
31
  * @class Cookie_Notice
32
+ * @version 2.1.4
33
  */
34
  class Cookie_Notice {
35
 
85
  'update_notice' => true,
86
  'update_delay_date' => 0
87
  ),
88
+ 'version' => '2.1.4'
89
  );
90
 
91
  private static $_instance;
includes/frontend.php CHANGED
@@ -34,8 +34,10 @@ class Cookie_Notice_Frontend {
34
  // whether to count robots
35
  $this->is_bot = Cookie_Notice()->bot_detect->is_crawler();
36
 
 
 
37
  // bail if in preview mode or it's a bot request
38
- if ( ! $this->preview_mode && ! $this->is_bot ) {
39
  // init cookie compliance
40
  if ( Cookie_Notice()->get_status() === 'active' ) {
41
  add_action( 'send_headers', array( $this, 'add_cors_http_header' ) );
@@ -158,7 +160,7 @@ class Cookie_Notice_Frontend {
158
  // message output
159
  $output = '
160
  <!-- Cookie Notice plugin v' . Cookie_Notice()->defaults['version'] . ' by Hu-manity.co https://hu-manity.co/ -->
161
- <div id="cookie-notice" role="banner" class="cookie-notice-hidden cookie-revoke-hidden cn-position-' . esc_attr( $options['position'] ) . '" aria-label="' . esc_attr( $options['aria_label'] ) . '" style="background-color: rgba(' . implode( ',', Cookie_Notice()->hex2rgb( $options['colors']['bar'] ) ) . ',' . ( (int) $options['colors']['bar_opacity'] ) * 0.01 . ');">'
162
  . '<div class="cookie-notice-container" style="color: ' . esc_attr( $options['colors']['text'] ) . ';">'
163
  . '<span id="cn-notice-text" class="cn-text-container">'. $options['message_text'] . '</span>'
164
  . '<span id="cn-notice-buttons" class="cn-buttons-container"><a href="#" id="cn-accept-cookie" data-cookie-set="accept" class="cn-set-cookie ' . $options['button_class'] . ( $options['css_style'] !== 'none' ? ' ' . $options['css_style'] : '' ) . ( $options['css_class'] !== '' ? ' ' . $options['css_class'] : '' ) . '" aria-label="' . esc_attr( $options['accept_text'] ) . '">' . esc_html( $options['accept_text'] ) . '</a>'
34
  // whether to count robots
35
  $this->is_bot = Cookie_Notice()->bot_detect->is_crawler();
36
 
37
+ global $pagenow;
38
+
39
  // bail if in preview mode or it's a bot request
40
+ if ( ! $this->preview_mode && ! $this->is_bot && ! ( is_admin() && $pagenow === 'widgets.php' && isset( $_GET['legacy-widget-preview'] ) ) ) {
41
  // init cookie compliance
42
  if ( Cookie_Notice()->get_status() === 'active' ) {
43
  add_action( 'send_headers', array( $this, 'add_cors_http_header' ) );
160
  // message output
161
  $output = '
162
  <!-- Cookie Notice plugin v' . Cookie_Notice()->defaults['version'] . ' by Hu-manity.co https://hu-manity.co/ -->
163
+ <div id="cookie-notice" role="dialog" class="cookie-notice-hidden cookie-revoke-hidden cn-position-' . esc_attr( $options['position'] ) . '" aria-label="' . esc_attr( $options['aria_label'] ) . '" style="background-color: rgba(' . implode( ',', Cookie_Notice()->hex2rgb( $options['colors']['bar'] ) ) . ',' . ( (int) $options['colors']['bar_opacity'] ) * 0.01 . ');">'
164
  . '<div class="cookie-notice-container" style="color: ' . esc_attr( $options['colors']['text'] ) . ';">'
165
  . '<span id="cn-notice-text" class="cn-text-container">'. $options['message_text'] . '</span>'
166
  . '<span id="cn-notice-buttons" class="cn-buttons-container"><a href="#" id="cn-accept-cookie" data-cookie-set="accept" class="cn-set-cookie ' . $options['button_class'] . ( $options['css_style'] !== 'none' ? ' ' . $options['css_style'] : '' ) . ( $options['css_class'] !== '' ? ' ' . $options['css_class'] : '' ) . '" aria-label="' . esc_attr( $options['accept_text'] ) . '">' . esc_html( $options['accept_text'] ) . '</a>'
includes/welcome.php CHANGED
@@ -313,7 +313,7 @@ class Cookie_Notice_Welcome {
313
  <div class="cn-pricing-body">
314
  <p class="cn-included"><span class="cn-icon"></span>' . __( 'GDPR, CCPA, ePrivacy, PECR compliance', 'cookie-notice' ) . '</p>
315
  <p class="cn-included"><span class="cn-icon"></span>' . __( 'Consent Analytics Dashboard', 'cookie-notice' ) . '</p>
316
- <p class="cn-excluded"><span class="cn-icon"></span>' . __( '<b>10,000</b> visits', 'cookie-notice' ) . '</p>
317
  <p class="cn-excluded"><span class="cn-icon"></span>' . __( '<b>30 days</b> consent storage', 'cookie-notice' ) . '</p>
318
  <p class="cn-excluded"><span class="cn-icon"></span>' . __( '<b>1 additional</b> language', 'cookie-notice' ) . '</p>
319
  <p class="cn-excluded"><span class="cn-icon"></span>' . __( '<b>Basic</b> Support', 'cookie-notice' ) . '</p>
313
  <div class="cn-pricing-body">
314
  <p class="cn-included"><span class="cn-icon"></span>' . __( 'GDPR, CCPA, ePrivacy, PECR compliance', 'cookie-notice' ) . '</p>
315
  <p class="cn-included"><span class="cn-icon"></span>' . __( 'Consent Analytics Dashboard', 'cookie-notice' ) . '</p>
316
+ <p class="cn-excluded"><span class="cn-icon"></span>' . __( '<b>1,000</b> visits / month', 'cookie-notice' ) . '</p>
317
  <p class="cn-excluded"><span class="cn-icon"></span>' . __( '<b>30 days</b> consent storage', 'cookie-notice' ) . '</p>
318
  <p class="cn-excluded"><span class="cn-icon"></span>' . __( '<b>1 additional</b> language', 'cookie-notice' ) . '</p>
319
  <p class="cn-excluded"><span class="cn-icon"></span>' . __( '<b>Basic</b> Support', 'cookie-notice' ) . '</p>
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: humanityco
3
  Tags: gdpr, ccpa, cookies, consent, compliance
4
  Requires at least: 4.3
5
  Requires PHP: 5.3
6
- Tested up to: 5.8
7
- Stable tag: 2.1.3
8
  License: MIT License
9
  License URI: http://opensource.org/licenses/MIT
10
 
@@ -12,14 +12,18 @@ Cookie Notice allows you to you elegantly inform users that your site uses cooki
12
 
13
  == Description ==
14
 
15
- Cookie Notice provides a simple, customizable website banner that can be used to help your website comply with certain cookie consent requirements under the EU GDPR cookie law and CCPA regulations.
16
 
17
- Cookie Compliance enhances the functionality of Cookie Notice by providing automated compliance features and better design controls in a state-of-the-art web application.
18
 
19
- > Cookie Compliance was developed to help small, and medium-sized websites <strong>take the guesswork out of compliance</strong>. We have always taken pride in delivering value to our Cookie Notice users. Through our upgraded Cookie Compliance web application, we can continue to deliver value by helping web admins respect the privacy of their website visitors without affecting their ability to do business.<br>
20
- > Bartosz Arendt - original developer of Cookie Notice + VP of Product & Technology @hu-manity.co
21
 
22
- = Cookie Notice Features: =
 
 
 
 
23
 
24
  * Customizable notice message
25
  * Consent on click, scroll or close
@@ -29,28 +33,84 @@ Cookie Compliance enhances the functionality of Cookie Notice by providing autom
29
  * WPML and Polylang compatible
30
  * SEO friendly
31
 
32
- = Cookie Compliance Features: =
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
 
34
- * Customizable GDPR & CCPA notice templates
35
- * Consent Analytics Dashboard
36
- * Cookie Autoblocking (complies with GDPR Art.7)
37
- * Cookie Categories (complies with GDPR Art.32)
38
- * Proof-of-Consent Storage (complies with GDPR Art.30)
39
- * Link to 'Do Not Sell' page (supports CCPA Sec.1798)
40
- * Enhanced design controls and options
41
- * Multiple new banner positions
42
- * Custom language localization
 
 
43
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
44
 
45
  == Installation ==
46
 
47
  1. Install Cookie Notice either via the WordPress.org plugin directory, or by uploading the files to your server
48
  2. Activate the plugin through the 'Plugins' menu in WordPress
49
  3. Go to the Cookie Notice settings and set your options.
 
 
 
50
 
51
  == Frequently Asked Questions ==
52
 
53
- No questions yet.
 
 
 
 
 
 
 
 
 
 
54
 
55
  == Screenshots ==
56
 
@@ -58,6 +118,9 @@ No questions yet.
58
 
59
  == Changelog ==
60
 
 
 
 
61
  = 2.1.3 =
62
  * Fix: HTML attributes removed from text strings
63
  * Tweak: Improved sanitization of options
@@ -328,5 +391,5 @@ Initial release
328
 
329
  == Upgrade Notice ==
330
 
331
- = 2.1.3 =
332
- * Fix: HTML attributes removed from text strings
3
  Tags: gdpr, ccpa, cookies, consent, compliance
4
  Requires at least: 4.3
5
  Requires PHP: 5.3
6
+ Tested up to: 5.8.1
7
+ Stable tag: 2.1.4
8
  License: MIT License
9
  License URI: http://opensource.org/licenses/MIT
10
 
12
 
13
  == Description ==
14
 
15
+ <strong>Cookie Notice</strong> provides a simple, customizable website banner that can be used to help your website comply with certain cookie consent requirements under the EU GDPR cookie law and CCPA regulations and includes <strong>seamless integration</strong> with Cookie Compliance to help your site comply with the latest updates to existing consent laws.
16
 
17
+ <strong>Cookie Compliance</strong> is a fully featured Consent Management Platform (CMP) that provides automated compliance features and enhanced design controls in a state-of-the-art web application. Cookie Compliance enables websites to <strong>take a proactive approach to data protection and consent laws</strong>. It is the first solution to offer Intentional Consent, a new consent framework that incorporates the latest guidelines from over 100+ countries, and emerging standards from leading international organizations like the IEEE and European Center for Digital Rights (noyb.eu). Cookie Compliance provides a beautiful, multi-level experience and includes new choices and controls for site visitors to better understand and engage in data privacy decisions.
18
 
19
+ > Our Cookie Compliance web application introduces a more ethical, proactive way to capture and manage consent. This early version of the emerging Intentional Consent framework is a result of Hu-manity.co’s ongoing work with top Fortune 500 companies, governments, and standards organizations, who believe that the imbalanced relationship between consumers and corporations is unsustainable when it comes to data privacy and consent online. We are making it available for all website owners and operators who share this belief and support our mission to eliminate the dark patterns in online consent.<br>
20
+ > Matt Sinderbrand - Chief Platform Officer, Hu-manity.co
21
 
22
+ ## Cookie Notice (plugin only)
23
+
24
+ Cookie Notice provides a simple, customizable website banner to help your website comply with certain cookie consent requirements.
25
+
26
+ = Banner features: =
27
 
28
  * Customizable notice message
29
  * Consent on click, scroll or close
33
  * WPML and Polylang compatible
34
  * SEO friendly
35
 
36
+ ## Cookie Compliance (plugin + web application)
37
+
38
+ Cookie Compliance gives you access to the most up-to-date formatting guidelines and technical compliance requirements for over 100 countries and legal jurisdictions.
39
+
40
+ = Banner features: =
41
+
42
+ * <strong>Intentional Consent</strong> provides 3 equal buttons to give site visitors the ability to accept none, some, or all cookies through packaged choices called Data Access Levels. Data Access Levels improve consent conversion and eliminate the dark pattern of deceptive, non-equal choices in the first layer. <em>Complies with equal choice principle prescribed under GDPR and other data protection laws.</em>
43
+ * <strong>Consent duration selector</strong> gives visitor control over how long their consent remains valid for your site. <em>Enables your site to align with recent guidelines from EU Data Protection Authorities, which state that cookie consent should be valid for no longer than a period of 6 months.</em>
44
+ * <strong>Cookie purpose categories</strong> make it easy for website visitors to customize their consent by category. <em>Complies with affirmative, opt-in consent requirements prescribed under GDPR and other data protection laws.</em>
45
+ * <strong>Consent metrics</strong> displays the visitor's consent record and a list of blocked / allowed 3rd parties directly in the expanded level of the banner. <em>Complies with latest guidance from EU Data Protection Authorities like CNIL (France) and ICO (UK). </em>
46
+ * <strong>Customizable Privacy Paper</strong> provides helpful information to improve visitor comprehension and understanding of the data sharing risks and benefits. Allows you to summarize core components of your sites privacy notice and <em>aligns with the informed principle prescribed by GDPR rules for valid consent capture. </em>
47
+ * <strong>Configurable Privacy Contact</strong> allows you to provide contact information for a business’ data privacy admin, as well as helpful links to data subject request forms and other data privacy resources. <em>Aligns with the informed principle prescribed by GDPR rules for valid consent capture.</em>
48
+
49
+ = Web Application features: =
50
+
51
+ * <strong>Consent analytics dashboard</strong> shows event data for number of visits and provides a “trust score” to help you track how site visitors are setting their consent. Make adjustments to your banner to improve your cookie acceptance rate and monitor progress via the consent activity graph.
52
+ * <strong>Default configurations</strong> for GDPR, CCPA and more help to remove dark patterns and allow for quick and easy deployment of the consent banner without any guesswork. Customize the design of any default configuration to match the look and feel of your site.
53
+ * <strong>Automatic script blocking</strong> blocks all non-essential cookie scripts and iFrames by default and <em>complies with valid consent rules under GDPR and other data protection laws</em>; in order to be compliant, your site must record visitor consent before setting or sending cookies.
54
+ * <strong>Consent record storage</strong> automatically stores a record of each consent and makes these records available for export. <em>Complies with proof-of-consent requirements prescribed under GDPR and other data protection laws.</em>
55
+ * <strong>Multilingual support</strong> automatically translates all banner text strings and allows you to provide custom translations for every text field to ensure visitors get a consistent consent experience.
56
+ * <strong>Multidomain management</strong> allows you to manage additional Free or Professional domains under a single account and enables you to customize banner configuration and design for each domain independently.
57
+
58
+ = Cookie Compliance proactive approach: =
59
+
60
+ For all businesses, the resources required to stay ahead of the latest regulations increases with the passage of each new law. With enforcement of compliance violations increasing daily, we believe it is critical for us as a trusted consent vendor to do everything in our power to help you stay ahead of these laws and remove the risk to your business
61
+
62
+ <strong>Cookie Compliance covers all current and upcoming regulations:</strong>
63
 
64
+ * GDPR (EU)
65
+ * ePrivacy Directive (EU)
66
+ * ePrivacy Regulation (EU)
67
+ * PECR (UK)
68
+ * LGPD (Brazil)
69
+ * PIPEDA (Canada)
70
+ * PDPB (India)
71
+ * CCPA (California, US)
72
+ * VCDPA (Virginia, US)
73
+ * Colorado Privacy Act (US)
74
+ * CPRA (California, US)
75
 
76
+ <strong>Cookie Compliance incorporates all recent formatting guidance:</strong>
77
+
78
+ * European Data Protection Supervisor (EDPS)
79
+ * ICO (United Kingdom)
80
+ * CNIL (France)
81
+ * GPDP (Italy)
82
+ * BfDl (Germany)
83
+ * AEPD (Spain)
84
+ * European Center for Digital Rights (noyb.eu)
85
+
86
+ <strong>Cookie Compliance targets dark patterns</strong>
87
+
88
+ Dark Patterns are user interface (UI) techniques that push site visitors to make decisions (such as agreeing to the installation of cookies on their devices) that they might not otherwise make. The most common Dark Pattern is the lack of an equal “reject all” button on the first layer of the consent notice. Dark Patterns are explicitly banned under GDPR and other data protection laws.
89
+
90
+ As a part of our proactive approach, Cookie Compliance is configured by default to prevent Dark Patterns through our unique Intentional Consent design.
91
 
92
  == Installation ==
93
 
94
  1. Install Cookie Notice either via the WordPress.org plugin directory, or by uploading the files to your server
95
  2. Activate the plugin through the 'Plugins' menu in WordPress
96
  3. Go to the Cookie Notice settings and set your options.
97
+ 4. Click "Add Compliance features" button to start Cookie Compliance integration.
98
+ 5. Create Cookie Compliance account and select plan.
99
+ 6. Log in to Cookie Compliance web application anytime to customize the settings.
100
 
101
  == Frequently Asked Questions ==
102
 
103
+ = Is Cookie Notice free? =
104
+ Yes! Cookie Notice is a free software.
105
+
106
+ = Is Cookie Compliance free? =
107
+ Yes, but with limits. Cookie Compliance includes both free and paid plans to choose from depending on your needs and your website traffic.
108
+
109
+ = Does the Cookie Notice make my site fully compliant with GDPR? =
110
+ No. The plugin-only version DOES NOT include technical compliance features such as automatic script blocking, consent purpose categories, or consent record storage. These features are only available through the Cookie Compliance integration.
111
+
112
+ = Does the Cookie Compiance integration make my site fully compliant with GDPR? =
113
+ Yes! The plugin + web appliaction version includes technical compliance features to meet requirements for over 100 countries and legal jurisdictions.
114
 
115
  == Screenshots ==
116
 
118
 
119
  == Changelog ==
120
 
121
+ = 2.1.4 =
122
+ * Fix: Wordpress 5.8 widgets compatibility
123
+
124
  = 2.1.3 =
125
  * Fix: HTML attributes removed from text strings
126
  * Tweak: Improved sanitization of options
391
 
392
  == Upgrade Notice ==
393
 
394
+ = 2.1.4 =
395
+ * Fix: Wordpress 5.8 widgets compatibility