iubenda Cookie Solution for GDPR - Version 1.15.7

Version Description

  • Fix: Google ReCaptcha loading issue with Contact Form 7
  • Tweak: Improved Youtube and Google Maps script blocking
Download this release

Release Info

Developer dfactory
Plugin Icon 128x128 iubenda Cookie Solution for GDPR
Version 1.15.7
Comparing to
See all releases

Code changes from version 1.15.6 to 1.15.7

iubenda-cookie-class/README.md CHANGED
@@ -90,8 +90,6 @@ Simply copy your method into the PHP document and then call it with the followin
90
 
91
  These operations take place in accordance with the rules explained in [this guide](https://www.iubenda.com/en/help/posts/1229). We suggest that you consult the posts relating to the alteration of script, img and iframe tags.
92
 
93
- As a last step the script invokes the `get_converted_page()` of the Page object and returns the page modified in such a way that no cookie will be generated.
94
-
95
  ## Additional Help and docs
96
 
97
  * [Full Cookie Solution Documentation](https://www.iubenda.com/en/help/1205-technical-documentation-for-the-cookie-law-solution-banner-cookie-policy-and-consent-management)
@@ -100,6 +98,9 @@ As a last step the script invokes the `get_converted_page()` of the Page object
100
 
101
  ## Changelog
102
 
 
 
 
103
  ##### 3.1.0
104
  * Tweak: Update and extend the list of blocked scripts including Google Site Search, Google oAuth, Linkedin widgets, PayPal widgets, Pinterest, AddThis, Disqus, Optimizely, Neodata, Criteo, Outbrain, Headway, Codepen, Freshchat, Uservoice
105
  , AdRoll, Olark, Segment, Kissmetrics, Mixpanel, Pingdom, Bing and Elevio
90
 
91
  These operations take place in accordance with the rules explained in [this guide](https://www.iubenda.com/en/help/posts/1229). We suggest that you consult the posts relating to the alteration of script, img and iframe tags.
92
 
 
 
93
  ## Additional Help and docs
94
 
95
  * [Full Cookie Solution Documentation](https://www.iubenda.com/en/help/1205-technical-documentation-for-the-cookie-law-solution-banner-cookie-policy-and-consent-management)
98
 
99
  ## Changelog
100
 
101
+ ##### 3.1.1
102
+ * Tweak: Update composer.json autoloader
103
+
104
  ##### 3.1.0
105
  * Tweak: Update and extend the list of blocked scripts including Google Site Search, Google oAuth, Linkedin widgets, PayPal widgets, Pinterest, AddThis, Disqus, Optimizely, Neodata, Criteo, Outbrain, Headway, Codepen, Freshchat, Uservoice
106
  , AdRoll, Olark, Segment, Kissmetrics, Mixpanel, Pingdom, Bing and Elevio
iubenda-cookie-class/composer.json CHANGED
@@ -7,5 +7,10 @@
7
  "license": "MIT",
8
  "require": {
9
  "php": ">=5.2.4"
10
- }
 
 
 
 
 
11
  }
7
  "license": "MIT",
8
  "require": {
9
  "php": ">=5.2.4"
10
+ },
11
+ "autoload": {
12
+ "files": [
13
+ "iubenda.class.php"
14
+ ]
15
+ }
16
  }
iubenda-cookie-class/iubenda.class.php CHANGED
@@ -1,8 +1,8 @@
1
  <?php
2
  /**
3
  * iubenda.class.php
4
- * version: 3.1.0
5
- * @author: Copyright 2018 iubenda
6
  * @license GNU/GPL
7
  * This program is free software: you can redistribute it and/or modify
8
  * it under the terms of the GNU General Public License as published by
@@ -38,6 +38,7 @@ class iubendaParser {
38
  'googletagmanager.com/gtm.js',
39
  'google.com/recaptcha/',
40
  'www.youtube.com/iframe_api',
 
41
  'window.adsbygoogle',
42
  // twitter
43
  'platform.twitter.com/widgets.js',
@@ -112,6 +113,7 @@ class iubendaParser {
112
  // google
113
  'apis.google.com',
114
  'maps.google.it/maps',
 
115
  'www.google.com/maps/embed',
116
  'googletagmanager.com/ns.html',
117
  'window.adsbygoogle',
1
  <?php
2
  /**
3
  * iubenda.class.php
4
+ * version: 3.1.2
5
+ * @author: Copyright 2019 iubenda
6
  * @license GNU/GPL
7
  * This program is free software: you can redistribute it and/or modify
8
  * it under the terms of the GNU General Public License as published by
38
  'googletagmanager.com/gtm.js',
39
  'google.com/recaptcha/',
40
  'www.youtube.com/iframe_api',
41
+ 'youtu.be',
42
  'window.adsbygoogle',
43
  // twitter
44
  'platform.twitter.com/widgets.js',
113
  // google
114
  'apis.google.com',
115
  'maps.google.it/maps',
116
+ 'maps.google.com/maps',
117
  'www.google.com/maps/embed',
118
  'googletagmanager.com/ns.html',
119
  'window.adsbygoogle',
iubenda-cookie-class/simple_html_dom.php CHANGED
@@ -1729,6 +1729,4 @@ class simple_html_dom
1729
  function getElementByTagName($name) {return $this->find($name, 0);}
1730
  function getElementsByTagName($name, $idx=-1) {return $this->find($name, $idx);}
1731
  function loadFile() {$args = func_get_args();$this->load_file($args);}
1732
- }
1733
-
1734
- ?>
1729
  function getElementByTagName($name) {return $this->find($name, 0);}
1730
  function getElementsByTagName($name, $idx=-1) {return $this->find($name, $idx);}
1731
  function loadFile() {$args = func_get_args();$this->load_file($args);}
1732
+ }
 
 
iubenda-cookie-class/test.php CHANGED
@@ -45,7 +45,7 @@ ini_set( 'max_execution_time', 300 );
45
 
46
  <?php
47
  if ( ! empty( $_POST['url'] ) )
48
- $url = $_POST['url'];
49
  else
50
  $url = '';
51
 
45
 
46
  <?php
47
  if ( ! empty( $_POST['url'] ) )
48
+ $url = filter_var( $_POST['url'], FILTER_SANITIZE_URL );
49
  else
50
  $url = '';
51
 
iubenda_cookie_solution.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: iubenda Cookie Solution for GDPR
4
  Plugin URI: https://www.iubenda.com
5
  Description: iubenda Cookie Solution allows you to make your website GDPR compliant and manage all aspects of cookie law on WP.
6
- Version: 1.15.6
7
  Author: iubenda
8
  Author URI: https://www.iubenda.com
9
  License: MIT License
@@ -35,7 +35,7 @@ $iubenda_cookie_law_solution = new iubenda_Cookie_Law_Solution();
35
  * iubenda_Cookie_Law_Solution final class.
36
  *
37
  * @class iubenda_Cookie_Law_Solution
38
- * @version 1.15.6
39
  */
40
  class iubenda_Cookie_Law_Solution {
41
 
@@ -53,7 +53,7 @@ class iubenda_Cookie_Law_Solution {
53
  'custom_iframes' => array(),
54
  'deactivation' => false
55
  );
56
- public $version = '1.15.6';
57
  public $no_html = false;
58
  public $links = array();
59
  public $multilang = false;
@@ -131,6 +131,10 @@ class iubenda_Cookie_Law_Solution {
131
  // load iubenda parser
132
  require_once( dirname( __FILE__ ) . '/iubenda-cookie-class/iubenda.class.php' );
133
 
 
 
 
 
134
  $links = array(
135
  'en' => array(
136
  'guide' => 'https://www.iubenda.com/en/iubenda-cookie-law-solution',
3
  Plugin Name: iubenda Cookie Solution for GDPR
4
  Plugin URI: https://www.iubenda.com
5
  Description: iubenda Cookie Solution allows you to make your website GDPR compliant and manage all aspects of cookie law on WP.
6
+ Version: 1.15.7
7
  Author: iubenda
8
  Author URI: https://www.iubenda.com
9
  License: MIT License
35
  * iubenda_Cookie_Law_Solution final class.
36
  *
37
  * @class iubenda_Cookie_Law_Solution
38
+ * @version 1.15.7
39
  */
40
  class iubenda_Cookie_Law_Solution {
41
 
53
  'custom_iframes' => array(),
54
  'deactivation' => false
55
  );
56
+ public $version = '1.15.7';
57
  public $no_html = false;
58
  public $links = array();
59
  public $multilang = false;
131
  // load iubenda parser
132
  require_once( dirname( __FILE__ ) . '/iubenda-cookie-class/iubenda.class.php' );
133
 
134
+ // google recaptcha v3 compatibility
135
+ if ( class_exists( 'WPCF7' ) && (int) WPCF7::get_option( 'iqfix_recaptcha' ) === 0 && ! iubendaParser::consent_given() )
136
+ $this->options['custom_scripts'][] = 'grecaptcha';
137
+
138
  $links = array(
139
  'en' => array(
140
  'guide' => 'https://www.iubenda.com/en/iubenda-cookie-law-solution',
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: cookies, cookie law, cookie policy, cookie banner, cookie block, privacy p
5
  Requires at least: 4.0
6
  Requires PHP: 5.2.4
7
  Tested up to: 5.1.1
8
- Stable tag: 1.15.6
9
  License: MIT License
10
  License URI: http://opensource.org/licenses/MIT
11
 
@@ -141,6 +141,10 @@ We will be very happy to receive feedback here: [Uservoice forum](http://support
141
 
142
  == Changelog ==
143
 
 
 
 
 
144
  = 1.15.6 =
145
  * Fix: iubenda script tags removed when Jetpack is active
146
 
@@ -348,5 +352,6 @@ We will be very happy to receive feedback here: [Uservoice forum](http://support
348
 
349
  == Upgrade Notice ==
350
 
351
- = 1.15.6 =
352
- * Fix: iubenda script tags removed when Jetpack is active
 
5
  Requires at least: 4.0
6
  Requires PHP: 5.2.4
7
  Tested up to: 5.1.1
8
+ Stable tag: 1.15.7
9
  License: MIT License
10
  License URI: http://opensource.org/licenses/MIT
11
 
141
 
142
  == Changelog ==
143
 
144
+ = 1.15.7 =
145
+ * Fix: Google ReCaptcha loading issue with Contact Form 7
146
+ * Tweak: Improved Youtube and Google Maps script blocking
147
+
148
  = 1.15.6 =
149
  * Fix: iubenda script tags removed when Jetpack is active
150
 
352
 
353
  == Upgrade Notice ==
354
 
355
+ = 1.15.7 =
356
+ * Fix: Google ReCaptcha loading issue with Contact Form 7
357
+ * Tweak: Improved Youtube and Google Maps script blocking