Cookie Law / GDPR Info - Version 1.8.6

Version Description

  • [Bug fix] Privacy overview is not visible if the content is in Cyrillic alphabets
  • [Improvements] Fixed compatibility issues with Decorator WooCommerce Email Customizer
Download this release

Release Info

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

Code changes from version 1.8.5 to 1.8.6

Files changed (91) hide show
  1. admin/class-cookie-law-info-admin.php +0 -0
  2. admin/css/cookie-law-info-admin-1.6.7.css +0 -0
  3. admin/css/cookie-law-info-admin.css +0 -0
  4. admin/images/documentation.png +0 -0
  5. admin/images/support.png +0 -0
  6. admin/index.php +0 -0
  7. admin/js/cookie-law-info-admin-1.6.7.js +0 -0
  8. admin/js/cookie-law-info-admin.js +0 -0
  9. admin/modules/cli-policy-generator/assets/css/editor-style.css +0 -0
  10. admin/modules/cli-policy-generator/assets/js/cli-policy-generator-admin.js +0 -0
  11. admin/modules/cli-policy-generator/classes/class-policy-generator-ajax.php +0 -0
  12. admin/modules/cli-policy-generator/classes/class-preview-page.php +0 -0
  13. admin/modules/cli-policy-generator/cli-policy-generator.php +0 -0
  14. admin/modules/cli-policy-generator/data/data.block1.php +0 -0
  15. admin/modules/cli-policy-generator/data/data.block2.php +0 -0
  16. admin/modules/cli-policy-generator/data/data.block3.php +0 -0
  17. admin/modules/cli-policy-generator/data/data.block4.php +0 -0
  18. admin/modules/cli-policy-generator/data/data.block5.php +0 -0
  19. admin/modules/cli-policy-generator/data/data.policy-generator.php +0 -0
  20. admin/modules/cli-policy-generator/views/policy-generator.php +0 -0
  21. admin/partials/cookie-law-info-admin_settings.php +0 -0
  22. admin/partials/cookie-law-info-privacy_overview.php +0 -0
  23. admin/views/admin-settings-advanced.php +0 -0
  24. admin/views/admin-settings-buttons.php +0 -0
  25. admin/views/admin-settings-general.php +0 -0
  26. admin/views/admin-settings-help.php +0 -0
  27. admin/views/admin-settings-messagebar.php +0 -0
  28. admin/views/admin-settings-save-button.php +0 -0
  29. admin/views/admin_necessary_cookie.php +0 -0
  30. admin/views/admin_non_necessary_cookie.php +0 -0
  31. admin/views/goto-pro.php +0 -0
  32. cookie-law-info.php +2 -2
  33. images/collapse.png +0 -0
  34. images/cross.png +0 -0
  35. images/expand.png +0 -0
  36. images/overlay.png +0 -0
  37. images/td_back.gif +0 -0
  38. images/tick.png +0 -0
  39. includes/class-cookie-law-info-activator.php +0 -0
  40. includes/class-cookie-law-info-deactivator.php +0 -0
  41. includes/class-cookie-law-info-i18n.php +0 -0
  42. includes/class-cookie-law-info-loader.php +0 -0
  43. includes/class-cookie-law-info.php +1 -1
  44. includes/index.php +0 -0
  45. index.php +0 -0
  46. languages/cookie-law-info-bg_BG.mo +0 -0
  47. languages/cookie-law-info-bg_BG.po +0 -0
  48. languages/cookie-law-info-cs_CZ.mo +0 -0
  49. languages/cookie-law-info-cs_CZ.po +0 -0
  50. languages/cookie-law-info-da_DA.mo +0 -0
  51. languages/cookie-law-info-da_DA.po +0 -0
  52. languages/cookie-law-info-da_DK.mo +0 -0
  53. languages/cookie-law-info-da_DK.po +0 -0
  54. languages/cookie-law-info-de_DE.mo +0 -0
  55. languages/cookie-law-info-de_DE.po +0 -0
  56. languages/cookie-law-info-es_ES.mo +0 -0
  57. languages/cookie-law-info-es_ES.po +0 -0
  58. languages/cookie-law-info-fi.mo +0 -0
  59. languages/cookie-law-info-fi.po +0 -0
  60. languages/cookie-law-info-fr_FR.mo +0 -0
  61. languages/cookie-law-info-fr_FR.po +0 -0
  62. languages/cookie-law-info-hr.mo +0 -0
  63. languages/cookie-law-info-hr.po +0 -0
  64. languages/cookie-law-info-is_IS.mo +0 -0
  65. languages/cookie-law-info-is_IS.po +0 -0
  66. languages/cookie-law-info-it_IT.mo +0 -0
  67. languages/cookie-law-info-it_IT.po +0 -0
  68. languages/cookie-law-info-nl_NL.mo +0 -0
  69. languages/cookie-law-info-nl_NL.po +0 -0
  70. languages/cookie-law-info-pt_PT.mo +0 -0
  71. languages/cookie-law-info-pt_PT.po +0 -0
  72. languages/cookie-law-info-sl_SL.mo +0 -0
  73. languages/cookie-law-info-sl_SL.po +0 -0
  74. languages/cookie-law-info-sv_SE.mo +0 -0
  75. languages/cookie-law-info-sv_SE.po +0 -0
  76. license.txt +0 -0
  77. public/class-cookie-law-info-public.php +6 -2
  78. public/css/cookie-law-info-gdpr.css +0 -0
  79. public/css/cookie-law-info-public.css +0 -0
  80. public/css/cookie-law-info-table.css +0 -0
  81. public/images/cli_icon.png +0 -0
  82. public/index.php +0 -0
  83. public/js/cookie-law-info-public.js +4 -5
  84. public/modules/shortcode/shortcode.php +0 -0
  85. public/views/cookie-law-info_bar.php +0 -0
  86. public/views/cookie-law-info_popup_content.php +0 -0
  87. readme.txt +9 -3
  88. third-party/class-cookie-law-info-third-party.php +0 -0
  89. third-party/scripts/pixelyoursite/pixelyoursite.php +0 -0
  90. uninstall.php +0 -0
  91. wpml-config.xml +0 -0
admin/class-cookie-law-info-admin.php CHANGED
File without changes
admin/css/cookie-law-info-admin-1.6.7.css CHANGED
File without changes
admin/css/cookie-law-info-admin.css CHANGED
File without changes
admin/images/documentation.png CHANGED
File without changes
admin/images/support.png CHANGED
File without changes
admin/index.php CHANGED
File without changes
admin/js/cookie-law-info-admin-1.6.7.js CHANGED
File without changes
admin/js/cookie-law-info-admin.js CHANGED
File without changes
admin/modules/cli-policy-generator/assets/css/editor-style.css CHANGED
File without changes
admin/modules/cli-policy-generator/assets/js/cli-policy-generator-admin.js CHANGED
File without changes
admin/modules/cli-policy-generator/classes/class-policy-generator-ajax.php CHANGED
File without changes
admin/modules/cli-policy-generator/classes/class-preview-page.php CHANGED
File without changes
admin/modules/cli-policy-generator/cli-policy-generator.php CHANGED
File without changes
admin/modules/cli-policy-generator/data/data.block1.php CHANGED
File without changes
admin/modules/cli-policy-generator/data/data.block2.php CHANGED
File without changes
admin/modules/cli-policy-generator/data/data.block3.php CHANGED
File without changes
admin/modules/cli-policy-generator/data/data.block4.php CHANGED
File without changes
admin/modules/cli-policy-generator/data/data.block5.php CHANGED
File without changes
admin/modules/cli-policy-generator/data/data.policy-generator.php CHANGED
File without changes
admin/modules/cli-policy-generator/views/policy-generator.php CHANGED
File without changes
admin/partials/cookie-law-info-admin_settings.php CHANGED
File without changes
admin/partials/cookie-law-info-privacy_overview.php CHANGED
File without changes
admin/views/admin-settings-advanced.php CHANGED
File without changes
admin/views/admin-settings-buttons.php CHANGED
File without changes
admin/views/admin-settings-general.php CHANGED
File without changes
admin/views/admin-settings-help.php CHANGED
File without changes
admin/views/admin-settings-messagebar.php CHANGED
File without changes
admin/views/admin-settings-save-button.php CHANGED
File without changes
admin/views/admin_necessary_cookie.php CHANGED
File without changes
admin/views/admin_non_necessary_cookie.php CHANGED
File without changes
admin/views/goto-pro.php CHANGED
File without changes
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: 1.8.5
20
  * Author: WebToffee
21
  * Author URI: http://cookielawinfo.com/
22
  * License: GPLv3
@@ -63,7 +63,7 @@ define ( 'CLI_POST_TYPE','cookielawinfo');
63
  * Currently plugin version.
64
  * Rename this for your plugin and update it as you release new versions.
65
  */
66
- define( 'CLI_VERSION', '1.8.5' );
67
 
68
  function wt_cookie_law_info_update_message( $data, $response )
69
  {
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: 1.8.6
20
  * Author: WebToffee
21
  * Author URI: http://cookielawinfo.com/
22
  * License: GPLv3
63
  * Currently plugin version.
64
  * Rename this for your plugin and update it as you release new versions.
65
  */
66
+ define( 'CLI_VERSION', '1.8.6' );
67
 
68
  function wt_cookie_law_info_update_message( $data, $response )
69
  {
images/collapse.png CHANGED
File without changes
images/cross.png CHANGED
File without changes
images/expand.png CHANGED
File without changes
images/overlay.png CHANGED
File without changes
images/td_back.gif CHANGED
File without changes
images/tick.png CHANGED
File without changes
includes/class-cookie-law-info-activator.php CHANGED
File without changes
includes/class-cookie-law-info-deactivator.php CHANGED
File without changes
includes/class-cookie-law-info-i18n.php CHANGED
File without changes
includes/class-cookie-law-info-loader.php CHANGED
File without changes
includes/class-cookie-law-info.php CHANGED
@@ -76,7 +76,7 @@ class Cookie_Law_Info {
76
  }
77
  else
78
  {
79
- $this->version = '1.8.5';
80
  }
81
  $this->plugin_name = 'cookie-law-info';
82
 
76
  }
77
  else
78
  {
79
+ $this->version = '1.8.6';
80
  }
81
  $this->plugin_name = 'cookie-law-info';
82
 
includes/index.php CHANGED
File without changes
index.php CHANGED
File without changes
languages/cookie-law-info-bg_BG.mo CHANGED
File without changes
languages/cookie-law-info-bg_BG.po CHANGED
File without changes
languages/cookie-law-info-cs_CZ.mo CHANGED
File without changes
languages/cookie-law-info-cs_CZ.po CHANGED
File without changes
languages/cookie-law-info-da_DA.mo CHANGED
File without changes
languages/cookie-law-info-da_DA.po CHANGED
File without changes
languages/cookie-law-info-da_DK.mo CHANGED
File without changes
languages/cookie-law-info-da_DK.po CHANGED
File without changes
languages/cookie-law-info-de_DE.mo CHANGED
File without changes
languages/cookie-law-info-de_DE.po CHANGED
File without changes
languages/cookie-law-info-es_ES.mo CHANGED
File without changes
languages/cookie-law-info-es_ES.po CHANGED
File without changes
languages/cookie-law-info-fi.mo CHANGED
File without changes
languages/cookie-law-info-fi.po CHANGED
File without changes
languages/cookie-law-info-fr_FR.mo CHANGED
File without changes
languages/cookie-law-info-fr_FR.po CHANGED
File without changes
languages/cookie-law-info-hr.mo CHANGED
File without changes
languages/cookie-law-info-hr.po CHANGED
File without changes
languages/cookie-law-info-is_IS.mo CHANGED
File without changes
languages/cookie-law-info-is_IS.po CHANGED
File without changes
languages/cookie-law-info-it_IT.mo CHANGED
File without changes
languages/cookie-law-info-it_IT.po CHANGED
File without changes
languages/cookie-law-info-nl_NL.mo CHANGED
File without changes
languages/cookie-law-info-nl_NL.po CHANGED
File without changes
languages/cookie-law-info-pt_PT.mo CHANGED
File without changes
languages/cookie-law-info-pt_PT.po CHANGED
File without changes
languages/cookie-law-info-sl_SL.mo CHANGED
File without changes
languages/cookie-law-info-sl_SL.po CHANGED
File without changes
languages/cookie-law-info-sv_SE.mo CHANGED
File without changes
languages/cookie-law-info-sv_SE.po CHANGED
File without changes
license.txt CHANGED
File without changes
public/class-cookie-law-info-public.php CHANGED
@@ -326,8 +326,9 @@ class Cookie_Law_Info_Public {
326
  This function should be attached to the wp_footer action hook.
327
  */
328
  public function cookielawinfo_inject_cli_script()
329
- {
330
- $the_options = Cookie_Law_Info::get_settings();
 
331
  if ( $the_options['is_on'] == true )
332
  {
333
  // Output the HTML in the footer:
@@ -367,6 +368,9 @@ class Cookie_Law_Info_Public {
367
  }
368
  }
369
  }
 
 
 
370
  $notify_html = apply_filters('cli_show_cookie_bar_only_on_selected_pages',$notify_html,$post_slug);
371
  require_once plugin_dir_path( __FILE__ ).'views/cookie-law-info_bar.php';
372
  }
326
  This function should be attached to the wp_footer action hook.
327
  */
328
  public function cookielawinfo_inject_cli_script()
329
+ {
330
+ global $wp_customize;
331
+ $the_options = Cookie_Law_Info::get_settings();
332
  if ( $the_options['is_on'] == true )
333
  {
334
  // Output the HTML in the footer:
368
  }
369
  }
370
  }
371
+ if( isset( $wp_customize ) ) {
372
+ $notify_html = '';
373
+ }
374
  $notify_html = apply_filters('cli_show_cookie_bar_only_on_selected_pages',$notify_html,$post_slug);
375
  require_once plugin_dir_path( __FILE__ ).'views/cookie-law-info_bar.php';
376
  }
public/css/cookie-law-info-gdpr.css CHANGED
File without changes
public/css/cookie-law-info-public.css CHANGED
File without changes
public/css/cookie-law-info-table.css CHANGED
File without changes
public/images/cli_icon.png CHANGED
File without changes
public/index.php CHANGED
File without changes
public/js/cookie-law-info-public.js CHANGED
@@ -249,11 +249,10 @@ var CLI=
249
  var strippedText = jQuery('<div />').html(textBlock.html());
250
  strippedText.find('table').remove();
251
  textBlock.html(strippedText.html());
252
- while (textBlock.text().length > 250 )
253
- {
254
- textBlock.text(function(index, text) {
255
- return text.replace(/\W*\s(\S)*$/, '...');
256
- });
257
  }
258
  },
259
  replaceText: function ( textBlock, original ){
249
  var strippedText = jQuery('<div />').html(textBlock.html());
250
  strippedText.find('table').remove();
251
  textBlock.html(strippedText.html());
252
+ currentText = textBlock.text();
253
+ if(currentText.trim().length > 250){
254
+ var newStr = currentText.substring(0, 250);
255
+ textBlock.empty().html(newStr).append('...');
 
256
  }
257
  },
258
  replaceText: function ( textBlock, original ){
public/modules/shortcode/shortcode.php CHANGED
File without changes
public/views/cookie-law-info_bar.php CHANGED
File without changes
public/views/cookie-law-info_popup_content.php CHANGED
File without changes
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.webtoffee.com/plugins/
4
  Tags: eu cookie law, GDPR, cookie law, cookie consent, eu privacy directive, privacy directive, cookies, privacy, compliance
5
  Requires at least: 3.3.1
6
  Tested up to: 5.3
7
- Stable tag: 1.8.5
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -143,6 +143,11 @@ See http://cookielawinfo.com for more information on what is required.
143
 
144
  == Changelog ==
145
 
 
 
 
 
 
146
  = 1.8.5 =
147
 
148
  * Bug fix w.r.t the plugin release version 1.8.4
@@ -396,6 +401,7 @@ See http://cookielawinfo.com for more information on what is required.
396
 
397
  == Upgrade Notice ==
398
 
399
- = 1.8.5 =
400
 
401
- * Bug fix w.r.t the plugin release version 1.8.4
 
4
  Tags: eu cookie law, GDPR, cookie law, cookie consent, eu privacy directive, privacy directive, cookies, privacy, compliance
5
  Requires at least: 3.3.1
6
  Tested up to: 5.3
7
+ Stable tag: 1.8.6
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
143
 
144
  == Changelog ==
145
 
146
+ = 1.8.6 =
147
+
148
+ * [Bug fix] Privacy overview is not visible if the content is in Cyrillic alphabets
149
+ * [Improvements] Fixed compatibility issues with Decorator – WooCommerce Email Customizer
150
+
151
  = 1.8.5 =
152
 
153
  * Bug fix w.r.t the plugin release version 1.8.4
401
 
402
  == Upgrade Notice ==
403
 
404
+ = 1.8.6 =
405
 
406
+ * [Bug fix] Privacy overview is not visible if the content is in Cyrillic alphabets
407
+ * [Improvements] Fixed compatibility issues with Decorator – WooCommerce Email Customizer
third-party/class-cookie-law-info-third-party.php CHANGED
File without changes
third-party/scripts/pixelyoursite/pixelyoursite.php CHANGED
File without changes
uninstall.php CHANGED
File without changes
wpml-config.xml CHANGED
File without changes