Ginger – EU Cookie Law - Version 1.1.4

Version Description

  • Bugfix
Download this release

Release Info

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

Code changes from version 1.1.3 to 1.1.4

front/gingerfront.utils.php CHANGED
@@ -53,6 +53,7 @@ function ginger_scirpt(){ ?>
53
  if($option_ginger_bar['ginger_banner_text']):
54
  $ginger_text = $option_ginger_bar['ginger_banner_text'];
55
  $ginger_text = str_replace('</', '<\/', $ginger_text);
 
56
  //Recupero privacy policy se presente
57
  if(strpos($ginger_text, '{{privacy_page}}') !== false):
58
  $privacy_policy = get_option('ginger_policy', true);
@@ -97,8 +98,7 @@ function ginger_scirpt(){ ?>
97
  $label_disable_cookie = __('Disable Cookies', 'ginger');
98
  endif;
99
  //Recupero style custom
100
- if($option_ginger_bar['background_color'] || $option_ginger_bar['text_color'] || $option_ginger_bar['link_color'] || $option_ginger_bar['ginger_css'] || $option_ginger_bar['button_color'] || $option_ginger_bar['button_text_color']): ?>
101
-
102
  <style>
103
  .ginger_container.<?php echo $option_ginger_bar['theme_ginger']; ?>{
104
  <?php if($option_ginger_bar['background_color']): ?> background-color: <?php echo $option_ginger_bar['background_color']; ?>;<?php endif; ?>
53
  if($option_ginger_bar['ginger_banner_text']):
54
  $ginger_text = $option_ginger_bar['ginger_banner_text'];
55
  $ginger_text = str_replace('</', '<\/', $ginger_text);
56
+ $ginger_text = str_replace( array("\n", "\r"), "<br \/>", $ginger_text );
57
  //Recupero privacy policy se presente
58
  if(strpos($ginger_text, '{{privacy_page}}') !== false):
59
  $privacy_policy = get_option('ginger_policy', true);
98
  $label_disable_cookie = __('Disable Cookies', 'ginger');
99
  endif;
100
  //Recupero style custom
101
+ if($option_ginger_bar['background_color'] || $option_ginger_bar['text_color'] || $option_ginger_bar['link_color'] || $option_ginger_bar['ginger_css'] || $option_ginger_bar['button_color'] || $option_ginger_bar['button_text_color']): ?>
 
102
  <style>
103
  .ginger_container.<?php echo $option_ginger_bar['theme_ginger']; ?>{
104
  <?php if($option_ginger_bar['background_color']): ?> background-color: <?php echo $option_ginger_bar['background_color']; ?>;<?php endif; ?>
ginger-eu-cookie-law.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Ginger - EU Cookie Law
4
  Plugin URI: http://manafactory.it/
5
  Description: Make your website compliant with EU Cookie Policy.
6
- Version: 1.1.3
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://manafactory.it/
5
  Description: Make your website compliant with EU Cookie Policy.
6
+ Version: 1.1.4
7
  Author: Manafactory
8
  Author URI: http://manafactory.it/
9
  License: GPLv2 or later
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: manafactory, webgrafia, matteobarale
3
  Tags: EU Cookie Law, cookie law, block cookie, cookie consent, cookie law, cookie policy, privacy policy, cookie banner, italian cookie law, cookie italia
4
  Requires at least: 3.0.1
5
  Tested up to: 4.2.2
6
- Stable tag: 1.1.3
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -69,6 +69,9 @@ No, you can be safe from plugins conflict. It's been developed using Cookies Ena
69
 
70
  == Changelog ==
71
 
 
 
 
72
  = 1.1.3 =
73
  * Bugfix
74
 
3
  Tags: EU Cookie Law, cookie law, block cookie, cookie consent, cookie law, cookie policy, privacy policy, cookie banner, italian cookie law, cookie italia
4
  Requires at least: 3.0.1
5
  Tested up to: 4.2.2
6
+ Stable tag: 1.1.4
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
69
 
70
  == Changelog ==
71
 
72
+ = 1.1.4 =
73
+ * Bugfix
74
+
75
  = 1.1.3 =
76
  * Bugfix
77