Cookie Consent - Version 2.3.11

Version Description

  • Added: activation notice
  • Fixed: removed additional body margin for hidden bar
Download this release

Release Info

Developer Catapult_Themes
Plugin Icon 128x128 Cookie Consent
Version 2.3.11
Comparing to
See all releases

Code changes from version 2.3.10 to 2.3.11

Files changed (3) hide show
  1. assets/css/style.css +10 -1
  2. readme.txt +9 -6
  3. uk-cookie-consent.php +26 -1
assets/css/style.css CHANGED
@@ -26,6 +26,15 @@ html.has-cookie-bar.cookie-bar-top-bar {
26
  .ctcc-exclude-SA.geoip-continent-SA #catapult-cookie-bar {
27
  display: none;
28
  }
 
 
 
 
 
 
 
 
 
29
  #catapult-cookie-bar.rounded-corners {
30
  border-radius: 3px;
31
  }
@@ -166,4 +175,4 @@ button#catapultCookie {
166
  -moz-transform: rotate(0);
167
  -o-transform: rotate(0);
168
  transform: rotate(0);
169
- }
26
  .ctcc-exclude-SA.geoip-continent-SA #catapult-cookie-bar {
27
  display: none;
28
  }
29
+ .ctcc-exclude-AF.geoip-continent-AF,
30
+ .ctcc-exclude-AN.geoip-continent-AN,
31
+ .ctcc-exclude-AS.geoip-continent-AS,
32
+ .ctcc-exclude-EU.geoip-continent-EU,
33
+ .ctcc-exclude-NA.geoip-continent-NA,
34
+ .ctcc-exclude-OC.geoip-continent-OC,
35
+ .ctcc-exclude-SA.geoip-continent-SA {
36
+ margin-top: 0 !important;
37
+ }
38
  #catapult-cookie-bar.rounded-corners {
39
  border-radius: 3px;
40
  }
175
  -moz-transform: rotate(0);
176
  -o-transform: rotate(0);
177
  transform: rotate(0);
178
+ }
readme.txt CHANGED
@@ -1,21 +1,20 @@
1
  === Cookie Consent ===
2
  Contributors: Catapult_Themes, husobj, jraczynski
3
  Donate Link: https://www.paypal.me/catapultthemes
4
- Tags: cookie law, cookies, eu cookie law, eu privacy directive, cookie compliance, cookie law, cookie notice, cookie notification, wpml, geo ip
5
  Requires at least: 4.3
6
  Tested up to: 4.9.6
7
- Stable tag: 2.3.10
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
  The only cookie consent plugin you'll ever need.
11
 
12
  == Description ==
13
-
14
- > <strong>Cookie Consent and GDPR</strong><br>Please refer to this [support ticket regarding this plugin and GDPR](https://wordpress.org/support/topic/cookie-consent-and-gdpr/). Note that I'm not qualified to tell you whether this plugin meets your GDPR requirements - you'll need to decide that for yourself.<br><br>
15
- > <strong>The wording below was written when this plugin was first released and refers to an earlier EU directive regarding cookies. It does not refer to GDPR in any way.</strong><br>
16
-
17
  Cookie Consent is one of the simplest and most popular cookie notification plugins out there. It's been actively developed and supported since 2012 and has over 100 5 star reviews.
18
 
 
 
 
19
  = Simple set up =
20
  One of the most popular aspects of the plugin is its simplicity of use - simply install and activate the plugin to automatically add the cookie consent notification bar. There is no need to configure it. On activation, the plugin creates and populates a page on your site with information about your cookie policy and automatically links to the page from the notification bar. So if you're using the default settings, it's a matter of seconds to get up and running.
21
 
@@ -72,6 +71,10 @@ You will find more details of the regulations on the [Information Commissioner's
72
 
73
  == Changelog ==
74
 
 
 
 
 
75
  = 2.3.10 =
76
  * Fixed: fixed security vulnerability identified by James Boughey
77
 
1
  === Cookie Consent ===
2
  Contributors: Catapult_Themes, husobj, jraczynski
3
  Donate Link: https://www.paypal.me/catapultthemes
4
+ Tags: cookie law, cookies, gdpr, eu privacy directive, cookie compliance, cookie law, cookie notice, cookie notification, wpml, geo ip
5
  Requires at least: 4.3
6
  Tested up to: 4.9.6
7
+ Stable tag: 2.3.11
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
  The only cookie consent plugin you'll ever need.
11
 
12
  == Description ==
 
 
 
 
13
  Cookie Consent is one of the simplest and most popular cookie notification plugins out there. It's been actively developed and supported since 2012 and has over 100 5 star reviews.
14
 
15
+ > <strong>New in 2.3.0:</strong><br>Geo IP support - choose which continents to display notifications (requires GeoIP Detect plugin to be installed)<br>
16
+ > <strong>New in 2.2.0:</strong><br>Easily select pages or posts where the cookie notification doesn't display. You now have complete control over which pages display a notification and which don't.<br>Close on scroll - optionally choose scrolling as closure method.
17
+
18
  = Simple set up =
19
  One of the most popular aspects of the plugin is its simplicity of use - simply install and activate the plugin to automatically add the cookie consent notification bar. There is no need to configure it. On activation, the plugin creates and populates a page on your site with information about your cookie policy and automatically links to the page from the notification bar. So if you're using the default settings, it's a matter of seconds to get up and running.
20
 
71
 
72
  == Changelog ==
73
 
74
+ = 2.3.11 =
75
+ * Added: activation notice
76
+ * Fixed: removed additional body margin for hidden bar
77
+
78
  = 2.3.10 =
79
  * Fixed: fixed security vulnerability identified by James Boughey
80
 
uk-cookie-consent.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Cookie Consent
4
  Plugin URI: https://catapultthemes.com/cookie-consent/
5
  Description: The only cookie consent plugin you'll ever need.
6
- Version: 2.3.10
7
  Author: Catapult_Themes
8
  Author URI: https://catapultthemes.com/
9
  Text Domain: uk-cookie-consent
@@ -75,3 +75,28 @@ function ctcc_create_policy_page() {
75
  }
76
  }
77
  register_activation_hook ( __FILE__, 'ctcc_create_policy_page' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  Plugin Name: Cookie Consent
4
  Plugin URI: https://catapultthemes.com/cookie-consent/
5
  Description: The only cookie consent plugin you'll ever need.
6
+ Version: 2.3.11
7
  Author: Catapult_Themes
8
  Author URI: https://catapultthemes.com/
9
  Text Domain: uk-cookie-consent
75
  }
76
  }
77
  register_activation_hook ( __FILE__, 'ctcc_create_policy_page' );
78
+
79
+ function ctcc_admin_notice() {
80
+
81
+ $option = get_option( 'ctcc_dismiss_gdpr' );
82
+ if( false === $option && ! isset( $_GET['dismiss'] ) ) {
83
+ $url = add_query_arg(
84
+ 'dismiss',
85
+ 'gdpr',
86
+ $_SERVER['REQUEST_URI']
87
+ );
88
+ printf(
89
+ '<div class="notice notice-info"><p><strong>%s</strong></p><p>%s</p><p><a href="%s" class="button button-primary">%s</a></p><p><a href="%s">%s</a></p></div>',
90
+ __( 'Cookie Consent and GDPR', 'ctcc' ),
91
+ __( 'Do you need help with making your site compliant with GDPR? Iubenda provide attorney-level solutions to help with your legal requirements, including generating privacy and cookie policies that are automatically updated if the law changes.', 'ctcc' ),
92
+ 'http://iubenda.refr.cc/JKNZ55D',
93
+ __( 'Find Out More', 'ctcc' ),
94
+ esc_url( $url ),
95
+ __( 'No Thanks', 'ctcc' )
96
+ );
97
+ } else {
98
+ update_option( 'ctcc_dismiss_gdpr', 1 );
99
+ }
100
+
101
+ }
102
+ // add_action( 'admin_notices', 'ctcc_admin_notice' );