Version Description
- minor bugfix
Download this release
Release Info
Developer | Facens |
Plugin | iubenda Cookie Solution for GDPR |
Version | 1.9.7 |
Comparing to | |
See all releases |
Code changes from version 1.9.6 to 1.9.7
- iubenda_cookie_solution.php +33 -14
- readme.txt +6 -0
iubenda_cookie_solution.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
Plugin URI: https://www.iubenda.com
|
5 |
Description: Iubenda Cookie Solution permette di gestire tutti gli aspetti della cookie law su WP.
|
6 |
Author: iubenda
|
7 |
-
Version: 1.9.
|
8 |
Author URI: https://www.iubenda.com
|
9 |
*/
|
10 |
|
@@ -57,20 +57,39 @@
|
|
57 |
if(!consentGiven()){
|
58 |
$str.="\n
|
59 |
<script>
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
|
|
|
|
|
|
|
|
|
|
72 |
}
|
73 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
74 |
</script>";
|
75 |
}
|
76 |
|
4 |
Plugin URI: https://www.iubenda.com
|
5 |
Description: Iubenda Cookie Solution permette di gestire tutti gli aspetti della cookie law su WP.
|
6 |
Author: iubenda
|
7 |
+
Version: 1.9.7
|
8 |
Author URI: https://www.iubenda.com
|
9 |
*/
|
10 |
|
57 |
if(!consentGiven()){
|
58 |
$str.="\n
|
59 |
<script>
|
60 |
+
(function(){
|
61 |
+
|
62 |
+
function extendObj() {
|
63 |
+
for (var i = 1; i < arguments.length; i++)
|
64 |
+
for (var key in arguments[i])
|
65 |
+
if (arguments[i].hasOwnProperty(key))
|
66 |
+
arguments[0][key] = arguments[i][key];
|
67 |
+
return arguments[0];
|
68 |
+
}
|
69 |
+
|
70 |
+
|
71 |
+
var userCallback, extend;
|
72 |
+
|
73 |
+
if(typeof(_iub.csConfiguration.callback) !== 'undefined'){
|
74 |
+
userCallback = _iub.csConfiguration.callback.onConsentGiven || function(){};
|
75 |
+
}else{
|
76 |
+
userCallback = function(){};
|
77 |
}
|
78 |
+
|
79 |
+
extend = {
|
80 |
+
callback: {
|
81 |
+
onConsentGiven: function(){
|
82 |
+
userCallback();
|
83 |
+
jQuery('noscript._no_script_iub').each(function(a,b){
|
84 |
+
var el = jQuery(b);
|
85 |
+
el.after(el.html());
|
86 |
+
});
|
87 |
+
}
|
88 |
+
}
|
89 |
+
};
|
90 |
+
|
91 |
+
extendObj(_iub.csConfiguration, extend);
|
92 |
+
})();
|
93 |
</script>";
|
94 |
}
|
95 |
|
readme.txt
CHANGED
@@ -47,6 +47,12 @@ Under "Installation/Other Notes" you will find instructions in both English and
|
|
47 |
|
48 |
== Changelog ==
|
49 |
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
= 1.9.5 =
|
51 |
* no refresh page needed to activate scripts inside IUB tags.
|
52 |
|
47 |
|
48 |
== Changelog ==
|
49 |
|
50 |
+
= 1.9.7 =
|
51 |
+
* minor bugfix
|
52 |
+
|
53 |
+
= 1.9.6 =
|
54 |
+
* bugfix: custom banner now allowed
|
55 |
+
|
56 |
= 1.9.5 =
|
57 |
* no refresh page needed to activate scripts inside IUB tags.
|
58 |
|