Ginger – EU Cookie Law - Version 1.2.2

Version Description

  • Google Maps Fix
  • Control json Page
Download this release

Release Info

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

Code changes from version 1.2.1 to 1.2.2

front/gingerfront.utils.php CHANGED
@@ -260,7 +260,8 @@ function ginger_parse_dom($output){
260
  'www.youtube.com/iframe_api',
261
  'www.google-analytics.com/analytics.js',
262
  'google-analytics.com/ga.js',
263
- 'maps.googleapis.com',
 
264
  'disqus.com',
265
  );
266
 
@@ -268,8 +269,6 @@ function ginger_parse_dom($output){
268
  'addthis.com'
269
  );
270
 
271
- do_action('ginger_add_scripts');
272
-
273
  $ginger_iframe_tags = array(
274
  'youtube.com',
275
  'platform.twitter.com',
@@ -280,7 +279,11 @@ function ginger_parse_dom($output){
280
  'disqus.com'
281
  );
282
  do_action('ginger_add_iframe');
283
-
 
 
 
 
284
  libxml_use_internal_errors(true);
285
  $doc = new DOMDocument();
286
  $doc->encoding = 'utf-8';
260
  'www.youtube.com/iframe_api',
261
  'www.google-analytics.com/analytics.js',
262
  'google-analytics.com/ga.js',
263
+ 'new google.maps.',
264
+ '_getTracker',
265
  'disqus.com',
266
  );
267
 
269
  'addthis.com'
270
  );
271
 
 
 
272
  $ginger_iframe_tags = array(
273
  'youtube.com',
274
  'platform.twitter.com',
279
  'disqus.com'
280
  );
281
  do_action('ginger_add_iframe');
282
+ if(strpos($output, '<html') === false):
283
+ return $output;
284
+ elseif(strpos($output, '<html') > 200 ):
285
+ return $output;
286
+ endif;
287
  libxml_use_internal_errors(true);
288
  $doc = new DOMDocument();
289
  $doc->encoding = 'utf-8';
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.2.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://manafactory.it/
5
  Description: Make your website compliant with EU Cookie Policy.
6
+ Version: 1.2.2
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.2.1
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -71,6 +71,10 @@ No, you can be safe from plugins conflict. It's been developed using Cookies Ena
71
 
72
  == Changelog ==
73
 
 
 
 
 
74
  = 1.2.1 =
75
  * Style Bugfix
76
 
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.2.2
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
71
 
72
  == Changelog ==
73
 
74
+ = 1.2.2 =
75
+ * Google Maps Fix
76
+ * Control json Page
77
+
78
  = 1.2.1 =
79
  * Style Bugfix
80