GDPR - Version 2.0.1

Version Description

  • Removing things that should have been deleted prior to updating to 2.0.0.
  • Fix new reconsent bar missing closing div.
Download this release

Release Info

Developer fclaussen
Plugin Icon 128x128 GDPR
Version 2.0.1
Comparing to
See all releases

Code changes from version 2.0.0 to 2.0.1

README.txt CHANGED
@@ -5,7 +5,7 @@ Tags: gdpr, compliance, privacy, law, general data protection regulation
5
  Requires at least: 4.7
6
  Requires PHP: 5.6
7
  Tested up to: 4.9
8
- Stable tag: 2.0.0
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -206,6 +206,10 @@ Activating this plugin does not guarantee that an organisation is successfully m
206
 
207
  == Changelog ==
208
 
 
 
 
 
209
  = 2.0.0 =
210
  * Change all requests and privacy preferences window to AJAX to avoid the admin-post hook issue.
211
  * We do not track privacy policy anymore. We can now track any kind of policy that users want. Those have been moved to each consent.
5
  Requires at least: 4.7
6
  Requires PHP: 5.6
7
  Tested up to: 4.9
8
+ Stable tag: 2.0.1
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
206
 
207
  == Changelog ==
208
 
209
+ = 2.0.1 =
210
+ * Removing things that should have been deleted prior to updating to 2.0.0.
211
+ * Fix new reconsent bar missing closing div.
212
+
213
  = 2.0.0 =
214
  * Change all requests and privacy preferences window to AJAX to avoid the admin-post hook issue.
215
  * We do not track privacy policy anymore. We can now track any kind of policy that users want. Those have been moved to each consent.
gdpr.php CHANGED
@@ -16,7 +16,7 @@
16
  * Plugin Name: GDPR
17
  * Plugin URI: https://trewknowledge.com
18
  * Description: This plugin is meant to assist a Controller, Data Processor, and Data Protection Officer (DPO) with efforts to meet the obligations and rights enacted under the GDPR.
19
- * Version: 2.0.0
20
  * Author: Trew Knowledge
21
  * Author URI: https://trewknowledge.com
22
  * License: GPL-2.0+
@@ -35,7 +35,7 @@ if ( ! defined( 'WPINC' ) ) {
35
  * Start at version 1.0.0 and use SemVer - https://semver.org
36
  * Rename this for your plugin and update it as you release new versions.
37
  */
38
- define( 'GDPR_VERSION', '2.0.0' );
39
 
40
  /**
41
  * The code that runs during plugin activation.
16
  * Plugin Name: GDPR
17
  * Plugin URI: https://trewknowledge.com
18
  * Description: This plugin is meant to assist a Controller, Data Processor, and Data Protection Officer (DPO) with efforts to meet the obligations and rights enacted under the GDPR.
19
+ * Version: 2.0.1
20
  * Author: Trew Knowledge
21
  * Author URI: https://trewknowledge.com
22
  * License: GPL-2.0+
35
  * Start at version 1.0.0 and use SemVer - https://semver.org
36
  * Rename this for your plugin and update it as you release new versions.
37
  */
38
+ define( 'GDPR_VERSION', '2.0.1' );
39
 
40
  /**
41
  * The code that runs during plugin activation.
languages/gdpr.pot CHANGED
@@ -162,7 +162,7 @@ msgstr ""
162
  msgid "We could not verify the user email or the security token. Please try again."
163
  msgstr ""
164
 
165
- #: admin/class-gdpr-requests-admin.php:37, admin/class-gdpr-requests-admin.php:286, admin/class-gdpr-requests-admin.php:331, public/class-gdpr-requests-public.php:121, public/partials/confirmation-screens.php:55
166
  msgid "User not found."
167
  msgstr ""
168
 
@@ -528,7 +528,7 @@ msgstr ""
528
  msgid "User gave explicit consent to %s"
529
  msgstr ""
530
 
531
- #: includes/helper-functions.php:26, public/partials/privacy-bar.php:36
532
  msgid "Privacy Preferences"
533
  msgstr ""
534
 
@@ -540,11 +540,11 @@ msgstr ""
540
  msgid "Continue"
541
  msgstr ""
542
 
543
- #: public/class-gdpr-public.php:127, public/partials/confirmation-screens.php:27
544
  msgid "Cancel"
545
  msgstr ""
546
 
547
- #: public/class-gdpr-public.php:128, public/partials/confirmation-screens.php:79
548
  msgid "OK"
549
  msgstr ""
550
 
@@ -552,7 +552,7 @@ msgstr ""
552
  msgid "I Agree"
553
  msgstr ""
554
 
555
- #: public/class-gdpr-public.php:196, public/class-gdpr-public.php:352, public/class-gdpr-requests-public.php:78, public/class-gdpr-requests-public.php:82, public/class-gdpr-requests-public.php:92, public/class-gdpr-requests-public.php:105, public/class-gdpr-requests-public.php:121, public/class-gdpr-requests-public.php:144, public/class-gdpr-requests-public.php:152, public/class-gdpr-requests-public.php:198, public/partials/confirmation-screens.php:50, public/partials/confirmation-screens.php:54, public/partials/confirmation-screens.php:58, public/partials/confirmation-screens.php:62
556
  msgid "Error!"
557
  msgstr ""
558
 
@@ -1033,43 +1033,35 @@ msgstr ""
1033
  msgid "6 digit token (optional)"
1034
  msgstr ""
1035
 
1036
- #: public/partials/confirmation-screens.php:18
1037
- msgid "Close your account?"
1038
- msgstr ""
1039
-
1040
- #: public/partials/confirmation-screens.php:23
1041
- msgid "Your account will be closed and all data will be permanently deleted and cannot be recovered. Are you sure?"
1042
- msgstr ""
1043
-
1044
- #: public/partials/confirmation-screens.php:38
1045
  msgid "Your account"
1046
  msgstr ""
1047
 
1048
- #: public/partials/confirmation-screens.php:40
1049
  msgid "Your account has been closed. We are sorry to see you go."
1050
  msgstr ""
1051
 
1052
- #: public/partials/confirmation-screens.php:42
1053
  msgid "Your request has been received and is being reviewed. You will receive an email when we are done."
1054
  msgstr ""
1055
 
1056
- #: public/partials/confirmation-screens.php:46
1057
  msgid "Request Received"
1058
  msgstr ""
1059
 
1060
- #: public/partials/confirmation-screens.php:47
1061
  msgid "Your request has been received. We will be in touch soon."
1062
  msgstr ""
1063
 
1064
- #: public/partials/confirmation-screens.php:51
1065
  msgid "Malformed request confirmation link!"
1066
  msgstr ""
1067
 
1068
- #: public/partials/confirmation-screens.php:59
1069
  msgid "We could not confirm the request key. It may be expired."
1070
  msgstr ""
1071
 
1072
- #: public/partials/confirmation-screens.php:63
1073
  msgid "The key used does not match the request key we have stored."
1074
  msgstr ""
1075
 
162
  msgid "We could not verify the user email or the security token. Please try again."
163
  msgstr ""
164
 
165
+ #: admin/class-gdpr-requests-admin.php:37, admin/class-gdpr-requests-admin.php:286, admin/class-gdpr-requests-admin.php:331, public/class-gdpr-requests-public.php:121, public/partials/confirmation-screens.php:37
166
  msgid "User not found."
167
  msgstr ""
168
 
528
  msgid "User gave explicit consent to %s"
529
  msgstr ""
530
 
531
+ #: includes/helper-functions.php:26, public/partials/privacy-bar.php:38
532
  msgid "Privacy Preferences"
533
  msgstr ""
534
 
540
  msgid "Continue"
541
  msgstr ""
542
 
543
+ #: public/class-gdpr-public.php:127
544
  msgid "Cancel"
545
  msgstr ""
546
 
547
+ #: public/class-gdpr-public.php:128, public/partials/confirmation-screens.php:61
548
  msgid "OK"
549
  msgstr ""
550
 
552
  msgid "I Agree"
553
  msgstr ""
554
 
555
+ #: public/class-gdpr-public.php:196, public/class-gdpr-public.php:352, public/class-gdpr-requests-public.php:78, public/class-gdpr-requests-public.php:82, public/class-gdpr-requests-public.php:92, public/class-gdpr-requests-public.php:105, public/class-gdpr-requests-public.php:121, public/class-gdpr-requests-public.php:144, public/class-gdpr-requests-public.php:152, public/class-gdpr-requests-public.php:198, public/partials/confirmation-screens.php:32, public/partials/confirmation-screens.php:36, public/partials/confirmation-screens.php:40, public/partials/confirmation-screens.php:44
556
  msgid "Error!"
557
  msgstr ""
558
 
1033
  msgid "6 digit token (optional)"
1034
  msgstr ""
1035
 
1036
+ #: public/partials/confirmation-screens.php:20
 
 
 
 
 
 
 
 
1037
  msgid "Your account"
1038
  msgstr ""
1039
 
1040
+ #: public/partials/confirmation-screens.php:22
1041
  msgid "Your account has been closed. We are sorry to see you go."
1042
  msgstr ""
1043
 
1044
+ #: public/partials/confirmation-screens.php:24
1045
  msgid "Your request has been received and is being reviewed. You will receive an email when we are done."
1046
  msgstr ""
1047
 
1048
+ #: public/partials/confirmation-screens.php:28
1049
  msgid "Request Received"
1050
  msgstr ""
1051
 
1052
+ #: public/partials/confirmation-screens.php:29
1053
  msgid "Your request has been received. We will be in touch soon."
1054
  msgstr ""
1055
 
1056
+ #: public/partials/confirmation-screens.php:33
1057
  msgid "Malformed request confirmation link!"
1058
  msgstr ""
1059
 
1060
+ #: public/partials/confirmation-screens.php:41
1061
  msgid "We could not confirm the request key. It may be expired."
1062
  msgstr ""
1063
 
1064
+ #: public/partials/confirmation-screens.php:45
1065
  msgid "The key used does not match the request key we have stored."
1066
  msgstr ""
1067
 
public/class-gdpr-public.php CHANGED
@@ -355,8 +355,6 @@ class GDPR_Public {
355
  $user_id = get_current_user_id();
356
 
357
  foreach ( $consents as $consent ) {
358
- error_log($consent);
359
- error_log($user_id);
360
  add_user_meta( $user_id, 'gdpr_consents', $consent );
361
  }
362
 
355
  $user_id = get_current_user_id();
356
 
357
  foreach ( $consents as $consent ) {
 
 
358
  add_user_meta( $user_id, 'gdpr_consents', $consent );
359
  }
360
 
public/partials/confirmation-screens.php CHANGED
@@ -11,24 +11,6 @@
11
  */
12
  ?>
13
 
14
- <!-- <div class="gdpr gdpr-general-confirmation gdpr-delete-confirmation">
15
- <div class="gdpr-wrapper">
16
- <header>
17
- <div class="gdpr-box-title">
18
- <h3><?php esc_attr_e( 'Close your account?', 'gdpr' ); ?></h3>
19
- <span class="gdpr-close"></span>
20
- </div>
21
- </header>
22
- <div class="gdpr-content">
23
- <p><?php esc_html_e( 'Your account will be closed and all data will be permanently deleted and cannot be recovered. Are you sure?', 'gdpr' ); ?></p>
24
- </div>
25
- <footer>
26
- <button class="gdpr-delete-account">Continue</button>
27
- <button class="gdpr-cancel"><?php esc_html_e( 'Cancel', 'gdpr' ); ?></button>
28
- </footer>
29
- </div>
30
- </div> -->
31
-
32
  <?php
33
  $title = '';
34
  $text = '';
11
  */
12
  ?>
13
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  <?php
15
  $title = '';
16
  $text = '';
public/partials/reconsent-bar.php CHANGED
@@ -12,7 +12,7 @@
12
  */
13
  ?>
14
 
15
- <div class="gdpr gdpr-reconsent-bar" style="/*display:none;*/">
16
  <div class="gdpr-wrapper">
17
  <div class="gdpr-content">
18
  <p><?php esc_html_e( 'Some of our policies have been updated. Please make sure to select the "View" link next each item in order to view changes before agreeing.', 'gdpr' ); ?></p>
@@ -30,5 +30,6 @@
30
  <div class="gdpr-buttons">
31
  <button class="gdpr-agreement" type="button" data-nonce="<?php echo esc_attr( wp_create_nonce( 'gdpr-agree-with-new-policies' ) ); ?>"><?php esc_html_e( 'I Agree', 'gdpr' ); ?></button>
32
  </div>
 
33
  </div>
34
  </div>
12
  */
13
  ?>
14
 
15
+ <div class="gdpr gdpr-reconsent-bar" style="display:none;">
16
  <div class="gdpr-wrapper">
17
  <div class="gdpr-content">
18
  <p><?php esc_html_e( 'Some of our policies have been updated. Please make sure to select the "View" link next each item in order to view changes before agreeing.', 'gdpr' ); ?></p>
30
  <div class="gdpr-buttons">
31
  <button class="gdpr-agreement" type="button" data-nonce="<?php echo esc_attr( wp_create_nonce( 'gdpr-agree-with-new-policies' ) ); ?>"><?php esc_html_e( 'I Agree', 'gdpr' ); ?></button>
32
  </div>
33
+ </div>
34
  </div>
35
  </div>