WP DSGVO Tools - Version 2.2.13

Version Description

  • cookie check improved
Download this release

Release Info

Developer shapepress
Plugin Icon 128x128 WP DSGVO Tools
Version 2.2.13
Comparing to
See all releases

Code changes from version 2.2.12 to 2.2.13

README.txt CHANGED
@@ -4,12 +4,12 @@ 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.1.0
7
- Stable tag: 2.2.12
8
  Requires PHP: 5.6.0
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
12
- 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>)
13
 
14
  == Description ==
15
 
@@ -80,6 +80,9 @@ Important: Disable other cookie notice plugins and Google Analytics or FB Pixel
80
 
81
  == Changelog ==
82
 
 
 
 
83
  = 2.2.12 =
84
  * error handling at logging
85
  * some php 7.3 warnings removed
4
  Tags: gdpr, dsgvo, datenschutz, wordpress, compliance, data, privacy, woocommerce,
5
  Requires at least: 3.0.1
6
  Tested up to: 5.1.0
7
+ Stable tag: 2.2.13
8
  Requires PHP: 5.6.0
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
12
+ 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>)
13
 
14
  == Description ==
15
 
80
 
81
  == Changelog ==
82
 
83
+ = 2.2.13 =
84
+ * cookie check improved
85
+
86
  = 2.2.12 =
87
  * error handling at logging
88
  * some php 7.3 warnings removed
languages/shapepress-dsgvo-de_DE.mo CHANGED
Binary file
languages/shapepress-dsgvo-de_DE.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
- "POT-Creation-Date: 2019-02-22 13:40+0100\n"
5
- "PO-Revision-Date: 2019-02-22 13:41+0100\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: de_DE\n"
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
+ "POT-Creation-Date: 2019-02-22 13:41+0100\n"
5
+ "PO-Revision-Date: 2019-02-22 14:15+0100\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: de_DE\n"
public/class-sp-dsgvo-public.php CHANGED
@@ -798,8 +798,23 @@ class SPDSGVOPublic
798
  {
799
  $userHadDecision = isset($_COOKIE[self::$cookie['name']]) || isset($_COOKIE[self::$cookiePopup['name']]);
800
  if($userHadDecision){
801
- $noticeAccepted = strtoupper($_COOKIE[self::$cookie['name']]) === self::$cookie['value'];
802
- $popupAccepted = strtoupper($_COOKIE[self::$cookiePopup['name']]) === self::$cookiePopup['value'];
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
803
  return apply_filters('cn_is_cookie_accepted', $noticeAccepted || $popupAccepted);
804
  }else{
805
  $defaults = SPDSGVOSettings::get('services');
798
  {
799
  $userHadDecision = isset($_COOKIE[self::$cookie['name']]) || isset($_COOKIE[self::$cookiePopup['name']]);
800
  if($userHadDecision){
801
+ $noticeAccepted = FALSE;
802
+ $popupAccepted = FALSE;
803
+
804
+ try {
805
+ $noticeAccepted = strtoupper($_COOKIE[self::$cookie['name']]) === self::$cookie['value'];
806
+ } catch (Exception $e)
807
+ {
808
+ $noticeAccepted = FALSE;
809
+ }
810
+
811
+ try {
812
+ $popupAccepted = strtoupper($_COOKIE[self::$cookiePopup['name']]) === self::$cookiePopup['value'];
813
+ } catch (Exception $e)
814
+ {
815
+ $popupAccepted = FALSE;
816
+ }
817
+
818
  return apply_filters('cn_is_cookie_accepted', $noticeAccepted || $popupAccepted);
819
  }else{
820
  $defaults = SPDSGVOSettings::get('services');
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.12
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.12');
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.13
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.13');
32
  define('sp_dsgvo_NAME', 'sp-dsgvo');
33
  /* i592995 */
34
  define('sp_dsgvo_URL', plugin_dir_url( __FILE__ ));