WP GDPR Compliance - Version 1.5.0

Version Description

Release date: March 13th, 2019 * Bugfix: JavaScript error when no active consents are added.

Download this release

Release Info

Developer donnyoexman
Plugin Icon 128x128 WP GDPR Compliance
Version 1.5.0
Comparing to
See all releases

Code changes from version 1.4.9 to 1.5.0

Files changed (3) hide show
  1. assets/js/front.js +9 -2
  2. readme.txt +5 -1
  3. wp-gdpr-compliance.php +1 -1
assets/js/front.js CHANGED
@@ -1,4 +1,4 @@
1
- (function (window, document, MicroModal, postscribe, undefined) {
2
  'use strict';
3
 
4
  /**
@@ -136,6 +136,9 @@
136
  if ($consentModal === null) {
137
  return;
138
  }
 
 
 
139
 
140
  MicroModal.init({
141
  disableScroll: true,
@@ -219,6 +222,10 @@
219
  }
220
  },
221
  initLoadConsents = function () {
 
 
 
 
222
  var data = {
223
  action: 'wpgdprc_load_consents',
224
  security: ajaxSecurity
@@ -353,4 +360,4 @@
353
  initFormAccessRequest();
354
  initFormDeleteRequest();
355
  });
356
- })(window, document, MicroModal, postscribe);
1
+ (function (window, document, undefined) {
2
  'use strict';
3
 
4
  /**
136
  if ($consentModal === null) {
137
  return;
138
  }
139
+ if (typeof MicroModal === 'undefined') {
140
+ return;
141
+ }
142
 
143
  MicroModal.init({
144
  disableScroll: true,
222
  }
223
  },
224
  initLoadConsents = function () {
225
+ if (typeof postscribe === 'undefined') {
226
+ return;
227
+ }
228
+
229
  var data = {
230
  action: 'wpgdprc_load_consents',
231
  security: ajaxSecurity
360
  initFormAccessRequest();
361
  initFormDeleteRequest();
362
  });
363
+ })(window, document);
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: gdpr, law, regulations, compliance, data, protection, privacy, data protec
4
  Requires at least: 4.5
5
  Tested up to: 5.1
6
  Requires PHP: 5.3
7
- Stable tag: 1.4.9
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -44,6 +44,10 @@ You'll find answers to many of your questions on [https://www.wpgdprc.com/faq/](
44
 
45
  == Changelog ==
46
 
 
 
 
 
47
  = 1.4.9 =
48
  *Release date: March 12th, 2019*
49
  * Load accepted consents with AJAX so we can bypass any caching.
4
  Requires at least: 4.5
5
  Tested up to: 5.1
6
  Requires PHP: 5.3
7
+ Stable tag: 1.5.0
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
 
44
 
45
  == Changelog ==
46
 
47
+ = 1.5.0 =
48
+ *Release date: March 13th, 2019*
49
+ * Bugfix: JavaScript error when no active consents are added.
50
+
51
  = 1.4.9 =
52
  *Release date: March 12th, 2019*
53
  * Load accepted consents with AJAX so we can bypass any caching.
wp-gdpr-compliance.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin Name: WP GDPR Compliance
5
  Plugin URI: https://www.wpgdprc.com/
6
  Description: This plugin assists website and webshop owners to comply with European privacy regulations known as GDPR. By May 24th, 2018 your website or shop has to comply to avoid large fines.
7
- Version: 1.4.9
8
  Author: Van Ons
9
  Author URI: https://www.van-ons.nl/
10
  License: GPL2
4
  Plugin Name: WP GDPR Compliance
5
  Plugin URI: https://www.wpgdprc.com/
6
  Description: This plugin assists website and webshop owners to comply with European privacy regulations known as GDPR. By May 24th, 2018 your website or shop has to comply to avoid large fines.
7
+ Version: 1.5.0
8
  Author: Van Ons
9
  Author URI: https://www.van-ons.nl/
10
  License: GPL2