Cookie Law / GDPR Info - Version 1.8.5

Version Description

  • Bug fix w.r.t the plugin release version 1.8.4
Download this release

Release Info

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

Code changes from version 1.8.4 to 1.8.5

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.4
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.4' );
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.5
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.5' );
67
 
68
  function wt_cookie_law_info_update_message( $data, $response )
69
  {
includes/class-cookie-law-info.php CHANGED
@@ -76,7 +76,7 @@ class Cookie_Law_Info {
76
  }
77
  else
78
  {
79
- $this->version = '1.8.4';
80
  }
81
  $this->plugin_name = 'cookie-law-info';
82
 
76
  }
77
  else
78
  {
79
+ $this->version = '1.8.5';
80
  }
81
  $this->plugin_name = 'cookie-law-info';
82
 
public/views/cookie-law-info_popup_content.php CHANGED
@@ -20,7 +20,14 @@ $necessary_cookie_options=get_option('cookielawinfo_necessary_settings');
20
  $content_length = strlen( strip_tags($privacy_overview_content) );
21
  $overview_title = trim( $overview_title );
22
  if(isset($overview_title) === true && $overview_title !== '') {
23
- echo apply_filters('wt_cli_change_privacy_overview_title_tag', $overview_title, '<h4>', '</h4>');
 
 
 
 
 
 
 
24
  }
25
  ?>
26
  <div class="cli-privacy-content">
20
  $content_length = strlen( strip_tags($privacy_overview_content) );
21
  $overview_title = trim( $overview_title );
22
  if(isset($overview_title) === true && $overview_title !== '') {
23
+ if( has_filter('wt_cli_change_privacy_overview_title_tag') )
24
+ {
25
+ echo apply_filters('wt_cli_change_privacy_overview_title_tag', $overview_title, '<h4>', '</h4>');
26
+ }
27
+ else
28
+ {
29
+ echo "<h4>".$overview_title."</h4>";
30
+ }
31
  }
32
  ?>
33
  <div class="cli-privacy-content">
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.4
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -143,6 +143,10 @@ See http://cookielawinfo.com for more information on what is required.
143
 
144
  == Changelog ==
145
 
 
 
 
 
146
  = 1.8.4 =
147
 
148
  * Defaulted privacy overview heading tag to H4
@@ -392,8 +396,6 @@ See http://cookielawinfo.com for more information on what is required.
392
 
393
  == Upgrade Notice ==
394
 
395
- = 1.8.4 =
396
 
397
- * Defaulted privacy overview heading tag to H4
398
- * Introduced 'wt_cli_change_privacy_overview_title_tag' filter to change privacy overview heading tag
399
- * Introduced 'wt_cli_add_custom_cookie_categories_name' filter to change cookie category names
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
 
144
  == Changelog ==
145
 
146
+ = 1.8.5 =
147
+
148
+ * Bug fix w.r.t the plugin release version 1.8.4
149
+
150
  = 1.8.4 =
151
 
152
  * Defaulted privacy overview heading tag to H4
396
 
397
  == Upgrade Notice ==
398
 
399
+ = 1.8.5 =
400
 
401
+ * Bug fix w.r.t the plugin release version 1.8.4