iubenda Cookie Solution for GDPR - Version 3.2.5

Version Description

  • Bugfix: Handle error on plugin activation
Download this release

Release Info

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

Code changes from version 3.2.4 to 3.2.5

includes/RadarService.php CHANGED
@@ -101,10 +101,14 @@ class RadarService {
101
 
102
  // Check if the next trial is not now
103
  if(intval(iub_array_get($iubendaRadarApiConfiguration, 'next_trial')) > time()){
104
- $nextRequestInSec = intval(iub_array_get($iubendaRadarApiConfiguration, 'next_trial')) - (time());
 
105
 
106
- wp_send_json(['code' => '200', 'status' => 'timeout', 'data' => $nextRequestInSec,]);
107
- wp_die();
 
 
 
108
  }
109
 
110
  $nextTrial = time();
101
 
102
  // Check if the next trial is not now
103
  if(intval(iub_array_get($iubendaRadarApiConfiguration, 'next_trial')) > time()){
104
+ if (defined('DOING_AJAX') && DOING_AJAX) {
105
+ $nextRequestInSec = intval(iub_array_get($iubendaRadarApiConfiguration, 'next_trial')) - (time());
106
 
107
+ wp_send_json(['code' => '200', 'status' => 'timeout', 'data' => $nextRequestInSec,]);
108
+ wp_die();
109
+ }
110
+
111
+ return true;
112
  }
113
 
114
  $nextTrial = time();
iubenda_cookie_solution.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Cookie and Consent Solution for the GDPR & ePrivacy
4
  Plugin URI: https://www.iubenda.com
5
  Description: The iubenda plugin is an <strong>all-in-one</strong>, extremely easy to use 360° compliance solution, with text crafted by actual lawyers, that quickly <strong>scans your site and auto-configures to match your specific setup</strong>. It supports the GDPR (DSGVO, RGPD), UK-GDPR, ePrivacy, LGPD, CCPA, CalOPPA, PECR and more.
6
- Version: 3.2.4
7
  Author: iubenda
8
  Author URI: https://www.iubenda.com
9
  License: MIT License
@@ -36,7 +36,7 @@ define( 'IUB_DEBUG', false );
36
  * @property IubendaLegalBlock $block
37
  *
38
  * @class iubenda
39
- * @version 3.2.4
40
  */
41
  class iubenda {
42
 
@@ -94,7 +94,7 @@ class iubenda {
94
  )
95
  );
96
  public $base_url;
97
- public $version = '3.2.4';
98
  public $activation = array(
99
  'update_version' => 0,
100
  'update_notice' => true,
3
  Plugin Name: Cookie and Consent Solution for the GDPR & ePrivacy
4
  Plugin URI: https://www.iubenda.com
5
  Description: The iubenda plugin is an <strong>all-in-one</strong>, extremely easy to use 360° compliance solution, with text crafted by actual lawyers, that quickly <strong>scans your site and auto-configures to match your specific setup</strong>. It supports the GDPR (DSGVO, RGPD), UK-GDPR, ePrivacy, LGPD, CCPA, CalOPPA, PECR and more.
6
+ Version: 3.2.5
7
  Author: iubenda
8
  Author URI: https://www.iubenda.com
9
  License: MIT License
36
  * @property IubendaLegalBlock $block
37
  *
38
  * @class iubenda
39
+ * @version 3.2.5
40
  */
41
  class iubenda {
42
 
94
  )
95
  );
96
  public $base_url;
97
+ public $version = '3.2.5';
98
  public $activation = array(
99
  'update_version' => 0,
100
  'update_notice' => true,
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: cookie banner, cookie law, eprivacy, gdpr, ukgdpr, ccpa, caloppa, lgpd, ds
5
  Requires at least: 5.0
6
  Requires PHP: 7.0.0
7
  Tested up to: 6.0
8
- Stable tag: 3.2.4
9
  License: MIT License
10
  License URI: http://opensource.org/licenses/MIT
11
 
@@ -254,6 +254,9 @@ The Brazilian General Data Protection Law, the ***Lei Geral de Proteção de Dad
254
 
255
  == Changelog ==
256
 
 
 
 
257
  = 3.2.4 =
258
  * Add PCP and T&C embedding section
259
 
@@ -722,5 +725,5 @@ The Brazilian General Data Protection Law, the ***Lei Geral de Proteção de Dad
722
 
723
  == Upgrade Notice ==
724
 
725
- = 3.2.4 =
726
- * Add PCP and T&C embedding section
5
  Requires at least: 5.0
6
  Requires PHP: 7.0.0
7
  Tested up to: 6.0
8
+ Stable tag: 3.2.5
9
  License: MIT License
10
  License URI: http://opensource.org/licenses/MIT
11
 
254
 
255
  == Changelog ==
256
 
257
+ = 3.2.5 =
258
+ * Bugfix: Handle error on plugin activation
259
+
260
  = 3.2.4 =
261
  * Add PCP and T&C embedding section
262
 
725
 
726
  == Upgrade Notice ==
727
 
728
+ = 3.2.5 =
729
+ * Bugfix: Handle error on plugin activation