Ginger – EU Cookie Law - Version 4.1.9

Version Description

  • Bugfix
Download this release

Release Info

Developer matteobarale
Plugin Icon 128x128 Ginger – EU Cookie Law
Version 4.1.9
Comparing to
See all releases

Code changes from version 4.1.8 to 4.1.9

front/gingerfront.core.php CHANGED
@@ -24,9 +24,9 @@ function ginger_get_text_banner($option_ginger_bar)
24
  $ginger_text = str_replace(array("\n", "\r"), "<br \/>", $ginger_text);
25
  //Recupero privacy policy se presente
26
  if (strpos($ginger_text, '{{privacy_page}}') !== false):
27
- $privacy_policy = get_option('ginger_policy', true);
28
- $privacy_policy_page = get_post($privacy_policy);
29
- if ($privacy_policy_page) {
30
  $privacy_policy_text = ' <a href="' . get_permalink($privacy_policy_page->ID) . '">' . addslashes($privacy_policy_page->post_title) . '<\/a>';
31
  $ginger_text = str_replace('{{privacy_page}}', $privacy_policy_text, $ginger_text);
32
  }
24
  $ginger_text = str_replace(array("\n", "\r"), "<br \/>", $ginger_text);
25
  //Recupero privacy policy se presente
26
  if (strpos($ginger_text, '{{privacy_page}}') !== false):
27
+ $privacy_policy = get_option('ginger_policy');
28
+ if (isset($privacy_policy['ginger_privacy_page']) && !empty($privacy_policy['ginger_privacy_page'])) {
29
+ $privacy_policy_page = get_post($privacy_policy['ginger_privacy_page']);
30
  $privacy_policy_text = ' <a href="' . get_permalink($privacy_policy_page->ID) . '">' . addslashes($privacy_policy_page->post_title) . '<\/a>';
31
  $ginger_text = str_replace('{{privacy_page}}', $privacy_policy_text, $ginger_text);
32
  }
ginger-eu-cookie-law.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Ginger - EU Cookie Law
4
  Plugin URI: http://www.ginger-cookielaw.com/
5
  Description: Make your website compliant with EU Cookie Policy and GDPR! Now totally free and unlocked
6
- Version: 4.1.8
7
  Author: Manafactory
8
  Author URI: http://manafactory.it/
9
  License: GPLv2 or later
3
  Plugin Name: Ginger - EU Cookie Law
4
  Plugin URI: http://www.ginger-cookielaw.com/
5
  Description: Make your website compliant with EU Cookie Policy and GDPR! Now totally free and unlocked
6
+ Version: 4.1.9
7
  Author: Manafactory
8
  Author URI: http://manafactory.it/
9
  License: GPLv2 or later
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.ginger-cookielaw.com/
4
  Tags: EU Cookie Law, GDPR, cookie law, block cookie, cookie consent, cookie law, cookie policy, privacy policy, cookie banner, italian cookie law, cookie italia, wpml, polylang
5
  Requires at least: 3.0.1
6
  Tested up to: 4.9.6
7
- Stable tag: 4.1.8
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -90,6 +90,9 @@ Yes, actually you we have 2 addons for multilanguages: wpml and polylang. Ask to
90
 
91
  == Changelog ==
92
 
 
 
 
93
  = 4.1.8 =
94
  * Bugfix
95
 
4
  Tags: EU Cookie Law, GDPR, cookie law, block cookie, cookie consent, cookie law, cookie policy, privacy policy, cookie banner, italian cookie law, cookie italia, wpml, polylang
5
  Requires at least: 3.0.1
6
  Tested up to: 4.9.6
7
+ Stable tag: 4.1.9
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
90
 
91
  == Changelog ==
92
 
93
+ = 4.1.9 =
94
+ * Bugfix
95
+
96
  = 4.1.8 =
97
  * Bugfix
98