Ginger – EU Cookie Law - Version 4.1.1

Version Description

Download this release

Release Info

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

Code changes from version 4.1 to 4.1.1

addon/analytics/ginger.analytics.php CHANGED
@@ -102,7 +102,9 @@ function ginger_analytics(){
102
  add_action( 'wp_head', 'ginger_anyltics_script_anonymize');
103
  function ginger_anyltics_script_anonymize(){ ?>
104
  <?php $option = get_option('gingeranalytics_option');?>
105
- <script>gingeranalytics('<?php if(isset($option['ginger_analytics_code']) && $option['ginger_analytics_code'] != '' ): echo $option['ginger_analytics_code']; endif;?>')</script>
 
 
106
  <?php }
107
 
108
  // Registro script per il controllo dello script Analytics
102
  add_action( 'wp_head', 'ginger_anyltics_script_anonymize');
103
  function ginger_anyltics_script_anonymize(){ ?>
104
  <?php $option = get_option('gingeranalytics_option');?>
105
+ <?php if($option['enable_ginger_analytics'] == true && (isset($option['ginger_analytics_code']) && $option['ginger_analytics_code'] != '')) : ?>
106
+ <script>gingeranalytics('<?php echo $option['ginger_analytics_code']; ?>')</script>
107
+ <?php endif; ?>
108
  <?php }
109
 
110
  // Registro script per il controllo dello script Analytics
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! Now totally free and unlocked
6
- Version: 4.1
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! Now totally free and unlocked
6
+ Version: 4.1.1
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, 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.7.3
7
- Stable tag: 4.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
4
  Tags: EU Cookie Law, 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.7.3
7
+ Stable tag: 4.1.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10