Version Description
- Bugfix Comments Checkbox Backend
Download this release
Release Info
Developer | shapepress |
Plugin | WP DSGVO Tools |
Version | 2.2.1 |
Comparing to | |
See all releases |
Code changes from version 2.2.0 to 2.2.1
- README.txt +5 -2
- public/class-sp-dsgvo-public.php +3 -0
- public/js/sp-dsgvo-public.js +1 -0
- sp-dsgvo.php +2 -2
README.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://wp-dsgvo.eu
|
|
4 |
Tags: gdpr, dsgvo, datenschutz, wordpress, compliance, data, privacy, woocommerce,
|
5 |
Requires at least: 3.0.1
|
6 |
Tested up to: 5.0.0
|
7 |
-
Stable tag: 2.2.
|
8 |
Requires PHP: 5.6.0
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
@@ -80,6 +80,9 @@ Important: Disable other cookie notice plugins and Google Analytics or FB Pixel
|
|
80 |
|
81 |
== Changelog ==
|
82 |
|
|
|
|
|
|
|
83 |
= 2.2.0 =
|
84 |
* Language templates for en_GB
|
85 |
* WPML stabilization
|
@@ -87,7 +90,7 @@ Important: Disable other cookie notice plugins and Google Analytics or FB Pixel
|
|
87 |
* Moved Woocommerce privacy-policy checkbox before "Send-Button"
|
88 |
* Improved uninstall method
|
89 |
* Cleaned logging
|
90 |
-
* Bugfix at custom tracker scripts
|
91 |
|
92 |
= 2.1.3 =
|
93 |
* Bugfixes at PDF generation
|
4 |
Tags: gdpr, dsgvo, datenschutz, wordpress, compliance, data, privacy, woocommerce,
|
5 |
Requires at least: 3.0.1
|
6 |
Tested up to: 5.0.0
|
7 |
+
Stable tag: 2.2.1
|
8 |
Requires PHP: 5.6.0
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
80 |
|
81 |
== Changelog ==
|
82 |
|
83 |
+
= 2.2.1 =
|
84 |
+
* Bugfix Comments Checkbox Backend
|
85 |
+
|
86 |
= 2.2.0 =
|
87 |
* Language templates for en_GB
|
88 |
* WPML stabilization
|
90 |
* Moved Woocommerce privacy-policy checkbox before "Send-Button"
|
91 |
* Improved uninstall method
|
92 |
* Cleaned logging
|
93 |
+
* Bugfix at saving custom tracker scripts
|
94 |
|
95 |
= 2.1.3 =
|
96 |
* Bugfixes at PDF generation
|
public/class-sp-dsgvo-public.php
CHANGED
@@ -532,6 +532,8 @@ class SPDSGVOPublic
|
|
532 |
|
533 |
public function fallbackAddCommentsCheckBoxForDSGVO($field)
|
534 |
{
|
|
|
|
|
535 |
if (SPDSGVOSettings::get('sp_dsgvo_comments_checkbox') === '0') {
|
536 |
return $field;
|
537 |
} else {
|
@@ -571,6 +573,7 @@ class SPDSGVOPublic
|
|
571 |
}
|
572 |
|
573 |
function customValidateCheckbox($commentdata) {
|
|
|
574 |
if (SPDSGVOSettings::get('sp_dsgvo_comments_checkbox') === '1') {
|
575 |
$validLicence = isValidBlogEdition() || isValidPremiumEdition();
|
576 |
$infoText = $validLicence ? SPDSGVOSettings::get('spdsgvo_comments_checkbox_info') : htmlentities(SPDSGVOSettings::getDefault('spdsgvo_comments_checkbox_info'), ENT_IGNORE, 'UTF-8');
|
532 |
|
533 |
public function fallbackAddCommentsCheckBoxForDSGVO($field)
|
534 |
{
|
535 |
+
if (is_admin()) return $field;
|
536 |
+
|
537 |
if (SPDSGVOSettings::get('sp_dsgvo_comments_checkbox') === '0') {
|
538 |
return $field;
|
539 |
} else {
|
573 |
}
|
574 |
|
575 |
function customValidateCheckbox($commentdata) {
|
576 |
+
if (is_admin()) return $field;
|
577 |
if (SPDSGVOSettings::get('sp_dsgvo_comments_checkbox') === '1') {
|
578 |
$validLicence = isValidBlogEdition() || isValidPremiumEdition();
|
579 |
$infoText = $validLicence ? SPDSGVOSettings::get('spdsgvo_comments_checkbox_info') : htmlentities(SPDSGVOSettings::getDefault('spdsgvo_comments_checkbox_info'), ENT_IGNORE, 'UTF-8');
|
public/js/sp-dsgvo-public.js
CHANGED
@@ -15,6 +15,7 @@ function getCookieValue(a) {
|
|
15 |
var errorText = $('.gdpr-cb-info-text');
|
16 |
var comments_submit_button = $('#commentform').find(':submit');
|
17 |
|
|
|
18 |
$('#commentform').submit(function(e){
|
19 |
|
20 |
if (gdpr_checkbox.prop('checked') === false)
|
15 |
var errorText = $('.gdpr-cb-info-text');
|
16 |
var comments_submit_button = $('#commentform').find(':submit');
|
17 |
|
18 |
+
|
19 |
$('#commentform').submit(function(e){
|
20 |
|
21 |
if (gdpr_checkbox.prop('checked') === false)
|
sp-dsgvo.php
CHANGED
@@ -16,7 +16,7 @@
|
|
16 |
* Plugin Name: WP DSGVO Tools (GDPR)
|
17 |
* Plugin URI: https://wp-dsgvo.eu
|
18 |
* Description: WP DSGVO Tools (GDPR) help you to fulfill the GDPR (DGSVO) compliance guidance (<a target="_blank" href="https://ico.org.uk/for-organisations/data-protection-reform/overview-of-the-gdpr/">GDPR</a>)
|
19 |
-
* Version: 2.2.
|
20 |
* Author: Shapepress eU
|
21 |
* Author URI: https://www.shapepress.com
|
22 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
|
@@ -28,7 +28,7 @@ if (! defined('WPINC')) {
|
|
28 |
die();
|
29 |
}
|
30 |
|
31 |
-
define('sp_dsgvo_VERSION', '2.2.
|
32 |
define('sp_dsgvo_NAME', 'sp-dsgvo');
|
33 |
/* i592995 */
|
34 |
define('sp_dsgvo_URL', plugin_dir_url( __FILE__ ));
|
16 |
* Plugin Name: WP DSGVO Tools (GDPR)
|
17 |
* Plugin URI: https://wp-dsgvo.eu
|
18 |
* Description: WP DSGVO Tools (GDPR) help you to fulfill the GDPR (DGSVO) compliance guidance (<a target="_blank" href="https://ico.org.uk/for-organisations/data-protection-reform/overview-of-the-gdpr/">GDPR</a>)
|
19 |
+
* Version: 2.2.1
|
20 |
* Author: Shapepress eU
|
21 |
* Author URI: https://www.shapepress.com
|
22 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
|
28 |
die();
|
29 |
}
|
30 |
|
31 |
+
define('sp_dsgvo_VERSION', '2.2.1');
|
32 |
define('sp_dsgvo_NAME', 'sp-dsgvo');
|
33 |
/* i592995 */
|
34 |
define('sp_dsgvo_URL', plugin_dir_url( __FILE__ ));
|