Cookie Law / GDPR Info - Version 2.0.3

Version Description

  • Enhancement - Default cookie banner message update.
Download this release

Release Info

Developer webtoffee
Plugin Icon Cookie Law / GDPR Info
Version 2.0.3
Comparing to
See all releases

Code changes from version 2.0.2 to 2.0.3

admin/views/admin-settings-buttons.php CHANGED
@@ -7,8 +7,8 @@ if ( ! defined( 'WPINC' ) ) {
7
  <div class="cookie-law-info-tab-content" data-id="<?php echo $target_id; ?>">
8
 
9
  <ul class="cli_sub_tab">
10
- <li style="border-left:none; padding-left: 0px;" data-target="accept-button"><a><?php _e( 'Accept Button', 'cookie-law-info' ); ?></a></li>
11
- <li data-target="accept-all-button"><a><?php _e('Accept All Button', 'cookie-law-info'); ?></a></li>
12
  <li data-target="reject-button"><a><?php _e( 'Reject Button', 'cookie-law-info' ); ?></a></li>
13
  <li data-target="settings-button"><a><?php _e( 'Settings Button', 'cookie-law-info' ); ?></a></li>
14
  <li data-target="read-more-button"><a><?php _e( 'Read more', 'cookie-law-info' ); ?></a></li>
7
  <div class="cookie-law-info-tab-content" data-id="<?php echo $target_id; ?>">
8
 
9
  <ul class="cli_sub_tab">
10
+ <li style="border-left:none; padding-left: 0px;" data-target="accept-all-button"><a><?php _e('Accept All Button', 'cookie-law-info'); ?></a></li>
11
+ <li data-target="accept-button"><a><?php _e( 'Accept Button', 'cookie-law-info' ); ?></a></li>
12
  <li data-target="reject-button"><a><?php _e( 'Reject Button', 'cookie-law-info' ); ?></a></li>
13
  <li data-target="settings-button"><a><?php _e( 'Settings Button', 'cookie-law-info' ); ?></a></li>
14
  <li data-target="read-more-button"><a><?php _e( 'Read more', 'cookie-law-info' ); ?></a></li>
admin/views/admin-settings-messagebar.php CHANGED
@@ -28,7 +28,7 @@ if (!defined('WPINC')) {
28
  echo '<textarea name="notify_message_field" class="vvv_textbox">';
29
  echo apply_filters('format_to_edit', stripslashes($the_options['notify_message'])) . '</textarea>';
30
  ?>
31
- <span class="cli_form_help"><?php _e('Modify/edit the content of the cookie consent bar.', 'cookie-law-info'); ?> <br /><em><?php _e('Supports shortcodes.(link shortcodes to help link) e.g. [cookie_button] for accept button, [cookie_reject] for reject button, [cookie_link] for Read more, [cookie_settings] for cookie settings.', 'cookie-law-info'); ?></em></span>
32
  </td>
33
  </tr>
34
  <tr valign="top">
28
  echo '<textarea name="notify_message_field" class="vvv_textbox">';
29
  echo apply_filters('format_to_edit', stripslashes($the_options['notify_message'])) . '</textarea>';
30
  ?>
31
+ <span class="cli_form_help"><?php _e('Modify/edit the content of the cookie consent bar.', 'cookie-law-info'); ?> <br /><em><?php _e('Supports shortcodes.(link shortcodes to help link) e.g. [cookie_accept_all] for accept all button, [cookie_button] for accept button, [cookie_reject] for reject button, [cookie_link] for Read more, [cookie_settings] for cookie settings.', 'cookie-law-info'); ?></em></span>
32
  </td>
33
  </tr>
34
  <tr valign="top">
cookie-law-info.php CHANGED
@@ -16,7 +16,7 @@
16
  * Plugin Name: GDPR Cookie Consent
17
  * Plugin URI: https://www.webtoffee.com/product/gdpr-cookie-consent/
18
  * Description: A simple way to show your website complies with the EU Cookie Law / GDPR.
19
- * Version: 2.0.2
20
  * Author: WebToffee
21
  * Author URI: https://www.webtoffee.com/
22
  * License: GPLv3
@@ -69,7 +69,7 @@ define ( 'CLI_ACTIVATION_ID','wtgdprcookieconsent');
69
  * Currently plugin version.
70
  * Rename this for your plugin and update it as you release new versions.
71
  */
72
- define( 'CLI_VERSION', '2.0.2' );
73
 
74
  function wt_cookie_law_info_update_message( $data, $response )
75
  {
16
  * Plugin Name: GDPR Cookie Consent
17
  * Plugin URI: https://www.webtoffee.com/product/gdpr-cookie-consent/
18
  * Description: A simple way to show your website complies with the EU Cookie Law / GDPR.
19
+ * Version: 2.0.3
20
  * Author: WebToffee
21
  * Author URI: https://www.webtoffee.com/
22
  * License: GPLv3
69
  * Currently plugin version.
70
  * Rename this for your plugin and update it as you release new versions.
71
  */
72
+ define( 'CLI_VERSION', '2.0.3' );
73
 
74
  function wt_cookie_law_info_update_message( $data, $response )
75
  {
includes/class-cookie-law-info.php CHANGED
@@ -78,7 +78,7 @@ class Cookie_Law_Info {
78
  }
79
  else
80
  {
81
- $this->version = '2.0.2';
82
  }
83
  $this->plugin_name = 'cookie-law-info';
84
 
@@ -382,7 +382,7 @@ class Cookie_Law_Info {
382
  'border' => '#b1a6a6c2',
383
  'border_on' => true,
384
  'bar_style' => array(),
385
- 'button_1_text' => 'ACCEPT',
386
  'button_1_url' => '#',
387
  'button_1_action' => '#cookie_action_close_header',
388
  'button_1_link_colour' => '#fff',
@@ -405,7 +405,7 @@ class Cookie_Law_Info {
405
  'button_2_hidebar' =>false,
406
  'button_2_style' => array(),
407
 
408
- 'button_3_text' => 'REJECT ALL',
409
  'button_3_url' => '#',
410
  'button_3_action' => '#cookie_action_close_header_reject',
411
  'button_3_link_colour' => '#333333',
@@ -420,13 +420,13 @@ class Cookie_Law_Info {
420
  'button_4_action' => '#cookie_action_settings',
421
  'button_4_link_colour' => '#333333',
422
  'button_4_new_win' => false,
423
- 'button_4_as_button' => false,
424
- 'button_4_button_colour' => '#000',
425
  'button_4_button_size' => 'medium',
426
  'button_4_style' => array(),
427
  'button_5_style' => array(),
428
 
429
- 'button_7_text' => 'ACCEPT ALL',
430
  'button_7_url' => '#',
431
  'button_7_action' => '#cookie_action_close_header',
432
  'button_7_link_colour' => '#fff',
@@ -446,7 +446,7 @@ class Cookie_Law_Info {
446
  'notify_div_id' => '#cookie-law-info-bar',
447
  'notify_position_horizontal' => 'right', // left | right
448
  'notify_position_vertical' => 'bottom', // 'top' = header | 'bottom' = footer
449
- 'notify_message' => addslashes ( '<div class="cli-bar-container cli-style-v2"><div class="cli-bar-message">We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “ACCEPT ALL”, you consent to the use of ALL the cookies. However, you may visit "Cookie Settings" to provide a controlled consent.</div><div class="cli-bar-btn_container">[cookie_settings margin="0px 10px 0px 5px"][cookie_reject margin="5px 10px 5px 5px"][cookie_accept_all]</div></div>'),
450
  'scroll_close' => false,
451
  'scroll_close_reload' => false,
452
  'accept_close_reload' => false,
78
  }
79
  else
80
  {
81
+ $this->version = '2.0.3';
82
  }
83
  $this->plugin_name = 'cookie-law-info';
84
 
382
  'border' => '#b1a6a6c2',
383
  'border_on' => true,
384
  'bar_style' => array(),
385
+ 'button_1_text' => 'Accept',
386
  'button_1_url' => '#',
387
  'button_1_action' => '#cookie_action_close_header',
388
  'button_1_link_colour' => '#fff',
405
  'button_2_hidebar' =>false,
406
  'button_2_style' => array(),
407
 
408
+ 'button_3_text' => 'Reject All',
409
  'button_3_url' => '#',
410
  'button_3_action' => '#cookie_action_close_header_reject',
411
  'button_3_link_colour' => '#333333',
420
  'button_4_action' => '#cookie_action_settings',
421
  'button_4_link_colour' => '#333333',
422
  'button_4_new_win' => false,
423
+ 'button_4_as_button' => true,
424
+ 'button_4_button_colour' => '#dedfe0',
425
  'button_4_button_size' => 'medium',
426
  'button_4_style' => array(),
427
  'button_5_style' => array(),
428
 
429
+ 'button_7_text' => 'Accept All',
430
  'button_7_url' => '#',
431
  'button_7_action' => '#cookie_action_close_header',
432
  'button_7_link_colour' => '#fff',
446
  'notify_div_id' => '#cookie-law-info-bar',
447
  'notify_position_horizontal' => 'right', // left | right
448
  'notify_position_vertical' => 'bottom', // 'top' = header | 'bottom' = footer
449
+ 'notify_message' => addslashes ( '<div class="cli-bar-container cli-style-v2"><div class="cli-bar-message">We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept All”, you consent to the use of ALL the cookies. However, you may visit "Cookie Settings" to provide a controlled consent.</div><div class="cli-bar-btn_container">[cookie_settings margin="0px 5px 0px 0px"][cookie_accept_all]</div></div>'),
450
  'scroll_close' => false,
451
  'scroll_close_reload' => false,
452
  'accept_close_reload' => false,
public/modules/script-blocker/views/settings.php CHANGED
File without changes
public/views/cookie-law-info_popup_content.php CHANGED
File without changes
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: GDPR, CCPA, cookie notice, DSGVO, RGPD, LGPD, PIPEDA, cookies , cookie law
5
  Requires at least: 4.4.0
6
  Tested up to: 5.7
7
  Requires PHP: 5.6
8
- Stable tag: 2.0.2
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
 
@@ -189,6 +189,10 @@ For every update of the plugin, you will be notified of the installed plugins pa
189
 
190
  == Changelog ==
191
 
 
 
 
 
192
  = 2.0.2 =
193
 
194
  * Enhancement - Added reject button by default
@@ -509,7 +513,6 @@ For every update of the plugin, you will be notified of the installed plugins pa
509
 
510
  == Upgrade Notice ==
511
 
512
- = 2.0.2 =
513
 
514
- * Enhancement - Added reject button by default
515
- * Enhancement - Help text improvements
5
  Requires at least: 4.4.0
6
  Tested up to: 5.7
7
  Requires PHP: 5.6
8
+ Stable tag: 2.0.3
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
 
189
 
190
  == Changelog ==
191
 
192
+ = 2.0.3 =
193
+
194
+ * Enhancement - Default cookie banner message update.
195
+
196
  = 2.0.2 =
197
 
198
  * Enhancement - Added reject button by default
513
 
514
  == Upgrade Notice ==
515
 
516
+ = 2.0.3 =
517
 
518
+ * Enhancement - Default cookie banner message update.