Ginger – EU Cookie Law - Version 1.1.6

Version Description

  • Get original class on iframe
  • Bugfix on Css
Download this release

Release Info

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

Code changes from version 1.1.5 to 1.1.6

front/css/cookies-enabler-dialog.css CHANGED
@@ -129,7 +129,7 @@ iframe{
129
  }
130
 
131
  .ginger_banner-wrapper {
132
- z-index: 9001;
133
  position: relative
134
  }
135
 
129
  }
130
 
131
  .ginger_banner-wrapper {
132
+ z-index: 99999998;
133
  position: relative
134
  }
135
 
front/css/cookies-enabler.css CHANGED
@@ -159,7 +159,7 @@ iframe{
159
 
160
 
161
  .ginger_banner-wrapper {
162
- z-index: 9001;
163
  position: relative
164
  }
165
 
@@ -363,4 +363,4 @@ iframe{
363
  -o-animation-duration: 0.8s;
364
  -webkit-animation-name: slideUp;
365
  animation-name: slideUp
366
- }
159
 
160
 
161
  .ginger_banner-wrapper {
162
+ z-index: 99999998;
163
  position: relative
164
  }
165
 
363
  -o-animation-duration: 0.8s;
364
  -webkit-animation-name: slideUp;
365
  animation-name: slideUp
366
+ }
front/gingerfront.utils.php CHANGED
@@ -298,7 +298,12 @@ function ginger_parse_dom($output){
298
  if(strpos_arr($src_iframe, $ginger_iframe_tags) !== false ):
299
  $iframe->removeAttribute('src');
300
  $iframe->setAttribute("data-ce-src", $src_iframe);
301
- $iframe->setAttribute("class", "ginger-iframe");
 
 
 
 
 
302
  endif;
303
  endif;
304
  endforeach;
298
  if(strpos_arr($src_iframe, $ginger_iframe_tags) !== false ):
299
  $iframe->removeAttribute('src');
300
  $iframe->setAttribute("data-ce-src", $src_iframe);
301
+ if($iframe->hasAttribute('class')):
302
+ $addclass = $iframe->getAttribute('class');
303
+ else:
304
+ $addclass = '';
305
+ endif;
306
+ $iframe->setAttribute("class", "ginger-iframe " . $addclass);
307
  endif;
308
  endif;
309
  endforeach;
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.5
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.6
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.5
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -69,6 +69,10 @@ No, you can be safe from plugins conflict. It's been developed using Cookies Ena
69
 
70
  == Changelog ==
71
 
 
 
 
 
72
  = 1.1.5 =
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.6
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.6 =
73
+ * Get original class on iframe
74
+ * Bugfix on Css
75
+
76
  = 1.1.5 =
77
  * Bugfix
78