Version Description
Release date: May 8th, 2018 * Added a button to retry creating database tables required by the request user data functionality.
Download this release
Release Info
Developer | donnyoexman |
Plugin | WP GDPR Compliance |
Version | 1.3.1 |
Comparing to | |
See all releases |
Code changes from version 1.3 to 1.3.1
- Includes/Action.php +26 -26
- Includes/Ajax.php +1 -1
- Includes/Helper.php +30 -0
- Includes/Page.php +14 -1
- Includes/Shortcode.php +0 -4
- assets/css/admin.css +0 -4
- languages/wp-gdpr-compliance.pot +63 -54
- readme.txt +5 -1
- wp-gdpr-compliance.php +2 -3
Includes/Action.php
CHANGED
@@ -50,34 +50,34 @@ class Action {
|
|
50 |
'post_status' => $status
|
51 |
));
|
52 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
if ($enabled) {
|
54 |
global $wpdb;
|
55 |
-
|
56 |
-
$
|
57 |
-
$
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
`data_id` bigint(20) NOT NULL,
|
75 |
-
`type` varchar(255) NOT NULL,
|
76 |
-
`processed` tinyint(1) DEFAULT '0' NOT NULL,
|
77 |
-
`date_created` datetime DEFAULT '0000-00-00 00:00:00' NOT NULL,
|
78 |
-
PRIMARY KEY (`ID`)
|
79 |
-
) $charsetCollate;";
|
80 |
-
dbDelta($sql);
|
81 |
}
|
82 |
}
|
83 |
|
50 |
'post_status' => $status
|
51 |
));
|
52 |
}
|
53 |
+
if ($enabled) {
|
54 |
+
Helper::createUserRequestDataTables();
|
55 |
+
}
|
56 |
+
}
|
57 |
+
|
58 |
+
public function showNoticesRequestUserData() {
|
59 |
+
$enabled = Helper::isEnabled('enable_access_request', 'settings');
|
60 |
if ($enabled) {
|
61 |
global $wpdb;
|
62 |
+
$accessRequest = $wpdb->query("SHOW TABLES LIKE '" . AccessRequest::getDatabaseTableName() . "'");
|
63 |
+
$deleteRequest = $wpdb->query("SHOW TABLES LIKE '" . DeleteRequest::getDatabaseTableName() . "'");
|
64 |
+
if ($accessRequest !== 1 || $deleteRequest !== 1) {
|
65 |
+
$pluginData = Helper::getPluginData();
|
66 |
+
printf(
|
67 |
+
'<div class="%s"><p><strong>%s:</strong> %s %s</p></div>',
|
68 |
+
'notice notice-error',
|
69 |
+
$pluginData['Name'],
|
70 |
+
__('Couldn\'t create the required database tables.', WP_GDPR_C_SLUG),
|
71 |
+
sprintf(
|
72 |
+
'<a class="button" href="%s">%s</a>',
|
73 |
+
add_query_arg(
|
74 |
+
array('action' => 'create_request_tables'),
|
75 |
+
Helper::getPluginAdminUrl()
|
76 |
+
),
|
77 |
+
__('Retry', WP_GDPR_C_SLUG)
|
78 |
+
)
|
79 |
+
);
|
80 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
81 |
}
|
82 |
}
|
83 |
|
Includes/Ajax.php
CHANGED
@@ -143,7 +143,7 @@ class Ajax {
|
|
143 |
}
|
144 |
}
|
145 |
} else {
|
146 |
-
$output['error'] = __('Something went wrong while saving the request.', WP_GDPR_C_SLUG);
|
147 |
}
|
148 |
} else {
|
149 |
$output['error'] = __('You have already requested your data. Please check your mailbox. After 24 hours you can put in a new request.', WP_GDPR_C_SLUG);
|
143 |
}
|
144 |
}
|
145 |
} else {
|
146 |
+
$output['error'] = __('Something went wrong while saving the request. Please try again.', WP_GDPR_C_SLUG);
|
147 |
}
|
148 |
} else {
|
149 |
$output['error'] = __('You have already requested your data. Please check your mailbox. After 24 hours you can put in a new request.', WP_GDPR_C_SLUG);
|
Includes/Helper.php
CHANGED
@@ -412,6 +412,36 @@ class Helper {
|
|
412 |
return $output;
|
413 |
}
|
414 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
415 |
/**
|
416 |
* @param array $filters
|
417 |
* @param bool $grouped
|
412 |
return $output;
|
413 |
}
|
414 |
|
415 |
+
public static function createUserRequestDataTables() {
|
416 |
+
global $wpdb;
|
417 |
+
require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
|
418 |
+
$charsetCollate = $wpdb->get_charset_collate();
|
419 |
+
$sql = "CREATE TABLE IF NOT EXISTS `" . AccessRequest::getDatabaseTableName() . "` (
|
420 |
+
`ID` bigint(20) NOT NULL AUTO_INCREMENT,
|
421 |
+
`site_id` bigint(20) NOT NULL,
|
422 |
+
`email_address` varchar(100) NOT NULL,
|
423 |
+
`session_id` varchar(255) NOT NULL,
|
424 |
+
`ip_address` varchar(100) NOT NULL,
|
425 |
+
`expired` tinyint(1) DEFAULT '0' NOT NULL,
|
426 |
+
`date_created` datetime DEFAULT '0000-00-00 00:00:00' NOT NULL,
|
427 |
+
PRIMARY KEY (`ID`)
|
428 |
+
) $charsetCollate;";
|
429 |
+
dbDelta($sql);
|
430 |
+
$sql = "CREATE TABLE IF NOT EXISTS `" . DeleteRequest::getDatabaseTableName() . "` (
|
431 |
+
`ID` bigint(20) NOT NULL AUTO_INCREMENT,
|
432 |
+
`site_id` bigint(20) NOT NULL,
|
433 |
+
`access_request_id` bigint(20) NOT NULL,
|
434 |
+
`session_id` varchar(255) NOT NULL,
|
435 |
+
`ip_address` varchar(100) NOT NULL,
|
436 |
+
`data_id` bigint(20) NOT NULL,
|
437 |
+
`type` varchar(255) NOT NULL,
|
438 |
+
`processed` tinyint(1) DEFAULT '0' NOT NULL,
|
439 |
+
`date_created` datetime DEFAULT '0000-00-00 00:00:00' NOT NULL,
|
440 |
+
PRIMARY KEY (`ID`)
|
441 |
+
) $charsetCollate;";
|
442 |
+
dbDelta($sql);
|
443 |
+
}
|
444 |
+
|
445 |
/**
|
446 |
* @param array $filters
|
447 |
* @param bool $grouped
|
Includes/Page.php
CHANGED
@@ -37,6 +37,16 @@ class Page {
|
|
37 |
}
|
38 |
|
39 |
public function generatePage() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
40 |
$type = (isset($_REQUEST['type'])) ? esc_html($_REQUEST['type']) : false;
|
41 |
$pluginData = Helper::getPluginData();
|
42 |
$daysLeftToComply = Helper::getDaysLeftToComply();
|
@@ -285,7 +295,10 @@ class Page {
|
|
285 |
printf(
|
286 |
'<strong>%s:</strong> %s',
|
287 |
strtoupper(__('Note', WP_GDPR_C_SLUG)),
|
288 |
-
|
|
|
|
|
|
|
289 |
);
|
290 |
?>
|
291 |
</div>
|
37 |
}
|
38 |
|
39 |
public function generatePage() {
|
40 |
+
$action = (isset($_REQUEST['action'])) ? esc_html($_REQUEST['action']) : false;
|
41 |
+
if (!empty($action)) {
|
42 |
+
switch ($action) {
|
43 |
+
case 'create_request_tables' :
|
44 |
+
Helper::createUserRequestDataTables();
|
45 |
+
wp_redirect(Helper::getPluginAdminUrl());
|
46 |
+
die();
|
47 |
+
break;
|
48 |
+
}
|
49 |
+
}
|
50 |
$type = (isset($_REQUEST['type'])) ? esc_html($_REQUEST['type']) : false;
|
51 |
$pluginData = Helper::getPluginData();
|
52 |
$daysLeftToComply = Helper::getDaysLeftToComply();
|
295 |
printf(
|
296 |
'<strong>%s:</strong> %s',
|
297 |
strtoupper(__('Note', WP_GDPR_C_SLUG)),
|
298 |
+
sprintf(
|
299 |
+
__('Enabling this will create one private page containing the necessary shortcode: %s. You can determine when and how to publish this page yourself.', WP_GDPR_C_SLUG),
|
300 |
+
'<pre>[wpgdprc_access_request_form]</pre>'
|
301 |
+
)
|
302 |
);
|
303 |
?>
|
304 |
</div>
|
Includes/Shortcode.php
CHANGED
@@ -87,10 +87,6 @@ class Shortcode {
|
|
87 |
public function accessRequestForm() {
|
88 |
wp_enqueue_style('wpgdprc.css');
|
89 |
wp_enqueue_script('wpgdprc.js');
|
90 |
-
$page = Helper::getAccessRequestPage();
|
91 |
-
if (!empty($page) && (get_queried_object_id() !== $page->ID)) {
|
92 |
-
return '';
|
93 |
-
}
|
94 |
$output = '<div class="wpgdprc">';
|
95 |
if (isset($_REQUEST['wpgdprc'])) {
|
96 |
$output .= self::getAccessRequestData();
|
87 |
public function accessRequestForm() {
|
88 |
wp_enqueue_style('wpgdprc.css');
|
89 |
wp_enqueue_script('wpgdprc.js');
|
|
|
|
|
|
|
|
|
90 |
$output = '<div class="wpgdprc">';
|
91 |
if (isset($_REQUEST['wpgdprc'])) {
|
92 |
$output .= self::getAccessRequestData();
|
assets/css/admin.css
CHANGED
@@ -48,10 +48,6 @@
|
|
48 |
line-height: inherit;
|
49 |
}
|
50 |
|
51 |
-
.wpgdprc p:last-child {
|
52 |
-
margin-bottom: 0;
|
53 |
-
}
|
54 |
-
|
55 |
.wpgdprc a {
|
56 |
color: #4AA94F;
|
57 |
}
|
48 |
line-height: inherit;
|
49 |
}
|
50 |
|
|
|
|
|
|
|
|
|
51 |
.wpgdprc a {
|
52 |
color: #4AA94F;
|
53 |
}
|
languages/wp-gdpr-compliance.pot
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: WP GDPR Compliance\n"
|
5 |
-
"POT-Creation-Date: 2018-05-
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: Van Ons <info@van-ons.nl>\n"
|
8 |
"MIME-Version: 1.0\n"
|
@@ -21,6 +21,14 @@ msgstr ""
|
|
21 |
msgid "Data Access Request"
|
22 |
msgstr ""
|
23 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
#: Includes/Ajax.php:27 Includes/Ajax.php:229
|
25 |
msgid "Missing data."
|
26 |
msgstr ""
|
@@ -80,7 +88,7 @@ msgid "Success. You will receive an email with your data shortly."
|
|
80 |
msgstr ""
|
81 |
|
82 |
#: Includes/Ajax.php:146
|
83 |
-
msgid "Something went wrong while saving the request."
|
84 |
msgstr ""
|
85 |
|
86 |
#: Includes/Ajax.php:149
|
@@ -163,7 +171,7 @@ msgid "Display Name"
|
|
163 |
msgstr ""
|
164 |
|
165 |
#: Includes/Data.php:54 Includes/Data.php:63 Includes/Data.php:70
|
166 |
-
#: Includes/Page.php:
|
167 |
msgid "Email Address"
|
168 |
msgstr ""
|
169 |
|
@@ -183,7 +191,7 @@ msgstr ""
|
|
183 |
msgid "Content"
|
184 |
msgstr ""
|
185 |
|
186 |
-
#: Includes/Data.php:64 Includes/Page.php:
|
187 |
msgid "IP Address"
|
188 |
msgstr ""
|
189 |
|
@@ -243,7 +251,7 @@ msgstr ""
|
|
243 |
msgid "You can use: %s"
|
244 |
msgstr ""
|
245 |
|
246 |
-
#: Includes/Helper.php:90 Includes/Helper.php:111 Includes/Page.php:
|
247 |
msgid "Note"
|
248 |
msgstr ""
|
249 |
|
@@ -331,7 +339,7 @@ msgid "Activate for this form:"
|
|
331 |
msgstr ""
|
332 |
|
333 |
#: Includes/Integration.php:115 Includes/Integration.php:156
|
334 |
-
#: Includes/Integration.php:183 Includes/Page.php:
|
335 |
msgid "Checkbox text"
|
336 |
msgstr ""
|
337 |
|
@@ -354,7 +362,7 @@ msgstr ""
|
|
354 |
msgid "Please accept the privacy checkbox."
|
355 |
msgstr ""
|
356 |
|
357 |
-
#: Includes/Integration.php:243 Includes/Page.php:
|
358 |
msgid "Privacy Policy"
|
359 |
msgstr ""
|
360 |
|
@@ -367,7 +375,7 @@ msgid ""
|
|
367 |
"request. When your data is anonymised you will receive an email confirmation."
|
368 |
msgstr ""
|
369 |
|
370 |
-
#: Includes/Integration.php:306 Includes/Page.php:
|
371 |
msgid "WordPress Comments"
|
372 |
msgstr ""
|
373 |
|
@@ -389,7 +397,7 @@ msgstr ""
|
|
389 |
msgid "Gravity Forms"
|
390 |
msgstr ""
|
391 |
|
392 |
-
#: Includes/Integration.php:335 Includes/Page.php:
|
393 |
msgid "WooCommerce"
|
394 |
msgstr ""
|
395 |
|
@@ -399,92 +407,92 @@ msgid ""
|
|
399 |
"page."
|
400 |
msgstr ""
|
401 |
|
402 |
-
#: Includes/Page.php:
|
403 |
msgid "Integration"
|
404 |
msgstr ""
|
405 |
|
406 |
-
#: Includes/Page.php:
|
407 |
msgid "Requests"
|
408 |
msgstr ""
|
409 |
|
410 |
-
#: Includes/Page.php:
|
411 |
msgid "Checklist"
|
412 |
msgstr ""
|
413 |
|
414 |
-
#: Includes/Page.php:
|
415 |
msgid "Settings"
|
416 |
msgstr ""
|
417 |
|
418 |
-
#: Includes/Page.php:
|
419 |
msgid ""
|
420 |
"This plugin assists website and webshop owners to comply with European "
|
421 |
"privacy regulations known as GDPR. By May 25th, 2018 your site or shop has "
|
422 |
"to comply."
|
423 |
msgstr ""
|
424 |
|
425 |
-
#: Includes/Page.php:
|
426 |
#, php-format
|
427 |
msgid ""
|
428 |
"%s currently supports %s. Please visit %s for frequently asked questions and "
|
429 |
"our development roadmap."
|
430 |
msgstr ""
|
431 |
|
432 |
-
#: Includes/Page.php:
|
433 |
msgid ""
|
434 |
"Disclaimer: The creators of this plugin do not have a legal background "
|
435 |
"please contact a law firm for rock solid legal advice."
|
436 |
msgstr ""
|
437 |
|
438 |
-
#: Includes/Page.php:
|
439 |
#, php-format
|
440 |
msgid "You have %s left to comply with GDPR."
|
441 |
msgstr ""
|
442 |
|
443 |
-
#: Includes/Page.php:
|
444 |
#, php-format
|
445 |
msgid "%s day"
|
446 |
msgstr ""
|
447 |
|
448 |
-
#: Includes/Page.php:
|
449 |
msgid "Enable:"
|
450 |
msgstr ""
|
451 |
|
452 |
-
#: Includes/Page.php:
|
453 |
#, php-format
|
454 |
msgid "This plugin is outdated. %s supports version %s and up."
|
455 |
msgstr ""
|
456 |
|
457 |
-
#: Includes/Page.php:
|
458 |
msgid "Couldn't find any supported plugins installed."
|
459 |
msgstr ""
|
460 |
|
461 |
-
#: Includes/Page.php:
|
462 |
msgid "The following plugins are supported as of now:"
|
463 |
msgstr ""
|
464 |
|
465 |
-
#: Includes/Page.php:
|
466 |
msgid "More plugins will be added in the future."
|
467 |
msgstr ""
|
468 |
|
469 |
-
#: Includes/Page.php:
|
470 |
msgid ""
|
471 |
"Below we ask you what private data you currently collect and provide you "
|
472 |
"with tips to comply."
|
473 |
msgstr ""
|
474 |
|
475 |
-
#: Includes/Page.php:
|
476 |
msgid "Select an option"
|
477 |
msgstr ""
|
478 |
|
479 |
-
#: Includes/Page.php:
|
480 |
msgid "Link text"
|
481 |
msgstr ""
|
482 |
|
483 |
-
#: Includes/Page.php:
|
484 |
msgid "Request User Data"
|
485 |
msgstr ""
|
486 |
|
487 |
-
#: Includes/Page.php:
|
488 |
msgid ""
|
489 |
"Allow your site's visitors to request their data stored in the WordPress "
|
490 |
"database (comments, WooCommerce orders etc.). Data found is send to their "
|
@@ -492,96 +500,97 @@ msgid ""
|
|
492 |
"data anonymised."
|
493 |
msgstr ""
|
494 |
|
495 |
-
#: Includes/Page.php:
|
496 |
msgid "Activate"
|
497 |
msgstr ""
|
498 |
|
499 |
-
#: Includes/Page.php:
|
500 |
msgid "Activate page"
|
501 |
msgstr ""
|
502 |
|
503 |
-
#: Includes/Page.php:
|
|
|
504 |
msgid ""
|
505 |
"Enabling this will create one private page containing the necessary "
|
506 |
-
"shortcode. You can determine when and how to publish this page yourself."
|
507 |
msgstr ""
|
508 |
|
509 |
-
#: Includes/Page.php:
|
510 |
msgid "Page"
|
511 |
msgstr ""
|
512 |
|
513 |
-
#: Includes/Page.php:
|
514 |
msgid "Click here to edit this page"
|
515 |
msgstr ""
|
516 |
|
517 |
-
#: Includes/Page.php:
|
518 |
msgid "Delete request explanation"
|
519 |
msgstr ""
|
520 |
|
521 |
-
#: Includes/Page.php:
|
522 |
msgid ""
|
523 |
"Anonymise a request by ticking the checkbox and clicking on the green "
|
524 |
"anonymise button below."
|
525 |
msgstr ""
|
526 |
|
527 |
-
#: Includes/Page.php:
|
528 |
msgid "WordPress Users"
|
529 |
msgstr ""
|
530 |
|
531 |
-
#: Includes/Page.php:
|
532 |
msgid "Request"
|
533 |
msgstr ""
|
534 |
|
535 |
-
#: Includes/Page.php:
|
536 |
msgid "Type"
|
537 |
msgstr ""
|
538 |
|
539 |
-
#: Includes/Page.php:
|
540 |
msgid "Date"
|
541 |
msgstr ""
|
542 |
|
543 |
-
#: Includes/Page.php:
|
544 |
msgid "Processed"
|
545 |
msgstr ""
|
546 |
|
547 |
-
#: Includes/Page.php:
|
548 |
msgid "Action"
|
549 |
msgstr ""
|
550 |
|
551 |
-
#: Includes/Page.php:
|
552 |
msgid "View"
|
553 |
msgstr ""
|
554 |
|
555 |
-
#: Includes/Page.php:
|
556 |
msgid "Anonymise selected request(s)"
|
557 |
msgstr ""
|
558 |
|
559 |
-
#: Includes/Page.php:
|
560 |
#, php-format
|
561 |
msgid "%d of %d results found"
|
562 |
msgstr ""
|
563 |
|
564 |
-
#: Includes/Page.php:
|
565 |
msgid "No delete requests found."
|
566 |
msgstr ""
|
567 |
|
568 |
-
#: Includes/Page.php:
|
569 |
msgid "ID"
|
570 |
msgstr ""
|
571 |
|
572 |
-
#: Includes/Page.php:
|
573 |
msgid "Requests to Process"
|
574 |
msgstr ""
|
575 |
|
576 |
-
#: Includes/Page.php:
|
577 |
msgid "Expired"
|
578 |
msgstr ""
|
579 |
|
580 |
-
#: Includes/Page.php:
|
581 |
msgid "Manage"
|
582 |
msgstr ""
|
583 |
|
584 |
-
#: Includes/Page.php:
|
585 |
msgid "No requests found."
|
586 |
msgstr ""
|
587 |
|
@@ -620,14 +629,14 @@ msgstr ""
|
|
620 |
msgid "This request is expired or doesn't exist."
|
621 |
msgstr ""
|
622 |
|
623 |
-
#: Includes/Shortcode.php:
|
624 |
msgid "Your Email Address"
|
625 |
msgstr ""
|
626 |
|
627 |
-
#: Includes/Shortcode.php:
|
628 |
msgid "Send"
|
629 |
msgstr ""
|
630 |
|
631 |
-
#: wp-gdpr-compliance.php:
|
632 |
msgid "View WP GDPR Compliance settings"
|
633 |
msgstr ""
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: WP GDPR Compliance\n"
|
5 |
+
"POT-Creation-Date: 2018-05-08 14:46+0200\n"
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: Van Ons <info@van-ons.nl>\n"
|
8 |
"MIME-Version: 1.0\n"
|
21 |
msgid "Data Access Request"
|
22 |
msgstr ""
|
23 |
|
24 |
+
#: Includes/Action.php:70
|
25 |
+
msgid "Couldn't create the required database tables."
|
26 |
+
msgstr ""
|
27 |
+
|
28 |
+
#: Includes/Action.php:77
|
29 |
+
msgid "Retry"
|
30 |
+
msgstr ""
|
31 |
+
|
32 |
#: Includes/Ajax.php:27 Includes/Ajax.php:229
|
33 |
msgid "Missing data."
|
34 |
msgstr ""
|
88 |
msgstr ""
|
89 |
|
90 |
#: Includes/Ajax.php:146
|
91 |
+
msgid "Something went wrong while saving the request. Please try again."
|
92 |
msgstr ""
|
93 |
|
94 |
#: Includes/Ajax.php:149
|
171 |
msgstr ""
|
172 |
|
173 |
#: Includes/Data.php:54 Includes/Data.php:63 Includes/Data.php:70
|
174 |
+
#: Includes/Page.php:463
|
175 |
msgid "Email Address"
|
176 |
msgstr ""
|
177 |
|
191 |
msgid "Content"
|
192 |
msgstr ""
|
193 |
|
194 |
+
#: Includes/Data.php:64 Includes/Page.php:379 Includes/Page.php:464
|
195 |
msgid "IP Address"
|
196 |
msgstr ""
|
197 |
|
251 |
msgid "You can use: %s"
|
252 |
msgstr ""
|
253 |
|
254 |
+
#: Includes/Helper.php:90 Includes/Helper.php:111 Includes/Page.php:297
|
255 |
msgid "Note"
|
256 |
msgstr ""
|
257 |
|
339 |
msgstr ""
|
340 |
|
341 |
#: Includes/Integration.php:115 Includes/Integration.php:156
|
342 |
+
#: Includes/Integration.php:183 Includes/Page.php:327
|
343 |
msgid "Checkbox text"
|
344 |
msgstr ""
|
345 |
|
362 |
msgid "Please accept the privacy checkbox."
|
363 |
msgstr ""
|
364 |
|
365 |
+
#: Includes/Integration.php:243 Includes/Page.php:263 Includes/Page.php:267
|
366 |
msgid "Privacy Policy"
|
367 |
msgstr ""
|
368 |
|
375 |
"request. When your data is anonymised you will receive an email confirmation."
|
376 |
msgstr ""
|
377 |
|
378 |
+
#: Includes/Integration.php:306 Includes/Page.php:367
|
379 |
msgid "WordPress Comments"
|
380 |
msgstr ""
|
381 |
|
397 |
msgid "Gravity Forms"
|
398 |
msgstr ""
|
399 |
|
400 |
+
#: Includes/Integration.php:335 Includes/Page.php:368
|
401 |
msgid "WooCommerce"
|
402 |
msgstr ""
|
403 |
|
407 |
"page."
|
408 |
msgstr ""
|
409 |
|
410 |
+
#: Includes/Page.php:63
|
411 |
msgid "Integration"
|
412 |
msgstr ""
|
413 |
|
414 |
+
#: Includes/Page.php:69
|
415 |
msgid "Requests"
|
416 |
msgstr ""
|
417 |
|
418 |
+
#: Includes/Page.php:78
|
419 |
msgid "Checklist"
|
420 |
msgstr ""
|
421 |
|
422 |
+
#: Includes/Page.php:79 wp-gdpr-compliance.php:108
|
423 |
msgid "Settings"
|
424 |
msgstr ""
|
425 |
|
426 |
+
#: Includes/Page.php:107
|
427 |
msgid ""
|
428 |
"This plugin assists website and webshop owners to comply with European "
|
429 |
"privacy regulations known as GDPR. By May 25th, 2018 your site or shop has "
|
430 |
"to comply."
|
431 |
msgstr ""
|
432 |
|
433 |
+
#: Includes/Page.php:110
|
434 |
#, php-format
|
435 |
msgid ""
|
436 |
"%s currently supports %s. Please visit %s for frequently asked questions and "
|
437 |
"our development roadmap."
|
438 |
msgstr ""
|
439 |
|
440 |
+
#: Includes/Page.php:118
|
441 |
msgid ""
|
442 |
"Disclaimer: The creators of this plugin do not have a legal background "
|
443 |
"please contact a law firm for rock solid legal advice."
|
444 |
msgstr ""
|
445 |
|
446 |
+
#: Includes/Page.php:124
|
447 |
#, php-format
|
448 |
msgid "You have %s left to comply with GDPR."
|
449 |
msgstr ""
|
450 |
|
451 |
+
#: Includes/Page.php:124
|
452 |
#, php-format
|
453 |
msgid "%s day"
|
454 |
msgstr ""
|
455 |
|
456 |
+
#: Includes/Page.php:157
|
457 |
msgid "Enable:"
|
458 |
msgstr ""
|
459 |
|
460 |
+
#: Includes/Page.php:183
|
461 |
#, php-format
|
462 |
msgid "This plugin is outdated. %s supports version %s and up."
|
463 |
msgstr ""
|
464 |
|
465 |
+
#: Includes/Page.php:192
|
466 |
msgid "Couldn't find any supported plugins installed."
|
467 |
msgstr ""
|
468 |
|
469 |
+
#: Includes/Page.php:193
|
470 |
msgid "The following plugins are supported as of now:"
|
471 |
msgstr ""
|
472 |
|
473 |
+
#: Includes/Page.php:199
|
474 |
msgid "More plugins will be added in the future."
|
475 |
msgstr ""
|
476 |
|
477 |
+
#: Includes/Page.php:211
|
478 |
msgid ""
|
479 |
"Below we ask you what private data you currently collect and provide you "
|
480 |
"with tips to comply."
|
481 |
msgstr ""
|
482 |
|
483 |
+
#: Includes/Page.php:272 Includes/Page.php:314
|
484 |
msgid "Select an option"
|
485 |
msgstr ""
|
486 |
|
487 |
+
#: Includes/Page.php:280
|
488 |
msgid "Link text"
|
489 |
msgstr ""
|
490 |
|
491 |
+
#: Includes/Page.php:285
|
492 |
msgid "Request User Data"
|
493 |
msgstr ""
|
494 |
|
495 |
+
#: Includes/Page.php:287
|
496 |
msgid ""
|
497 |
"Allow your site's visitors to request their data stored in the WordPress "
|
498 |
"database (comments, WooCommerce orders etc.). Data found is send to their "
|
500 |
"data anonymised."
|
501 |
msgstr ""
|
502 |
|
503 |
+
#: Includes/Page.php:290
|
504 |
msgid "Activate"
|
505 |
msgstr ""
|
506 |
|
507 |
+
#: Includes/Page.php:292
|
508 |
msgid "Activate page"
|
509 |
msgstr ""
|
510 |
|
511 |
+
#: Includes/Page.php:299
|
512 |
+
#, php-format
|
513 |
msgid ""
|
514 |
"Enabling this will create one private page containing the necessary "
|
515 |
+
"shortcode: %s. You can determine when and how to publish this page yourself."
|
516 |
msgstr ""
|
517 |
|
518 |
+
#: Includes/Page.php:309
|
519 |
msgid "Page"
|
520 |
msgstr ""
|
521 |
|
522 |
+
#: Includes/Page.php:321
|
523 |
msgid "Click here to edit this page"
|
524 |
msgstr ""
|
525 |
|
526 |
+
#: Includes/Page.php:333
|
527 |
msgid "Delete request explanation"
|
528 |
msgstr ""
|
529 |
|
530 |
+
#: Includes/Page.php:364
|
531 |
msgid ""
|
532 |
"Anonymise a request by ticking the checkbox and clicking on the green "
|
533 |
"anonymise button below."
|
534 |
msgstr ""
|
535 |
|
536 |
+
#: Includes/Page.php:366
|
537 |
msgid "WordPress Users"
|
538 |
msgstr ""
|
539 |
|
540 |
+
#: Includes/Page.php:377
|
541 |
msgid "Request"
|
542 |
msgstr ""
|
543 |
|
544 |
+
#: Includes/Page.php:378
|
545 |
msgid "Type"
|
546 |
msgstr ""
|
547 |
|
548 |
+
#: Includes/Page.php:380 Includes/Page.php:465
|
549 |
msgid "Date"
|
550 |
msgstr ""
|
551 |
|
552 |
+
#: Includes/Page.php:381
|
553 |
msgid "Processed"
|
554 |
msgstr ""
|
555 |
|
556 |
+
#: Includes/Page.php:382
|
557 |
msgid "Action"
|
558 |
msgstr ""
|
559 |
|
560 |
+
#: Includes/Page.php:397
|
561 |
msgid "View"
|
562 |
msgstr ""
|
563 |
|
564 |
+
#: Includes/Page.php:411
|
565 |
msgid "Anonymise selected request(s)"
|
566 |
msgstr ""
|
567 |
|
568 |
+
#: Includes/Page.php:433 Includes/Page.php:524
|
569 |
#, php-format
|
570 |
msgid "%d of %d results found"
|
571 |
msgstr ""
|
572 |
|
573 |
+
#: Includes/Page.php:439
|
574 |
msgid "No delete requests found."
|
575 |
msgstr ""
|
576 |
|
577 |
+
#: Includes/Page.php:461
|
578 |
msgid "ID"
|
579 |
msgstr ""
|
580 |
|
581 |
+
#: Includes/Page.php:462
|
582 |
msgid "Requests to Process"
|
583 |
msgstr ""
|
584 |
|
585 |
+
#: Includes/Page.php:466
|
586 |
msgid "Expired"
|
587 |
msgstr ""
|
588 |
|
589 |
+
#: Includes/Page.php:490
|
590 |
msgid "Manage"
|
591 |
msgstr ""
|
592 |
|
593 |
+
#: Includes/Page.php:530
|
594 |
msgid "No requests found."
|
595 |
msgstr ""
|
596 |
|
629 |
msgid "This request is expired or doesn't exist."
|
630 |
msgstr ""
|
631 |
|
632 |
+
#: Includes/Shortcode.php:95
|
633 |
msgid "Your Email Address"
|
634 |
msgstr ""
|
635 |
|
636 |
+
#: Includes/Shortcode.php:103
|
637 |
msgid "Send"
|
638 |
msgstr ""
|
639 |
|
640 |
+
#: wp-gdpr-compliance.php:108
|
641 |
msgid "View WP GDPR Compliance settings"
|
642 |
msgstr ""
|
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: 4.9.4
|
6 |
Requires PHP: 5.3
|
7 |
-
Stable tag: 1.3
|
8 |
License: GPLv2 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -38,6 +38,10 @@ You'll find answers to many of your questions on [wpgdprc.com](https://www.wpgdp
|
|
38 |
|
39 |
== Changelog ==
|
40 |
|
|
|
|
|
|
|
|
|
41 |
= 1.3 =
|
42 |
*Release date: May 7th, 2018*
|
43 |
* Added the request user data page. You can enable it in the Settings tab.
|
4 |
Requires at least: 4.5
|
5 |
Tested up to: 4.9.4
|
6 |
Requires PHP: 5.3
|
7 |
+
Stable tag: 1.3.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
38 |
|
39 |
== Changelog ==
|
40 |
|
41 |
+
= 1.3.1 =
|
42 |
+
*Release date: May 8th, 2018*
|
43 |
+
* Added a button to retry creating database tables required by the request user data functionality.
|
44 |
+
|
45 |
= 1.3 =
|
46 |
*Release date: May 7th, 2018*
|
47 |
* Added the request user data page. You can enable it in the Settings tab.
|
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.3
|
8 |
Author: Van Ons
|
9 |
Author URI: https://www.van-ons.nl/
|
10 |
License: GPL2
|
@@ -37,7 +37,6 @@ use WPGDPRC\Includes\Filter;
|
|
37 |
use WPGDPRC\Includes\Helper;
|
38 |
use WPGDPRC\Includes\Integration;
|
39 |
use WPGDPRC\Includes\Page;
|
40 |
-
use WPGDPRC\Includes\AccessRequest;
|
41 |
use WPGDPRC\Includes\Shortcode;
|
42 |
|
43 |
// If this file is called directly, abort.
|
@@ -45,7 +44,6 @@ if (!defined('WPINC')) {
|
|
45 |
die();
|
46 |
}
|
47 |
|
48 |
-
define('WP_GDPR_C_VERSION', '1.2.4');
|
49 |
define('WP_GDPR_C_SLUG', 'wp-gdpr-compliance');
|
50 |
define('WP_GDPR_C_PREFIX', 'wpgdprc');
|
51 |
define('WP_GDPR_C_ROOT_FILE', __FILE__);
|
@@ -87,6 +85,7 @@ class WPGDPRC {
|
|
87 |
add_filter('pre_update_option_wpgdprc_settings_access_request_page', array(Filter::getInstance(), 'processEnableAccessRequest'));
|
88 |
Integration::getInstance();
|
89 |
if (Helper::isEnabled('enable_access_request', 'settings')) {
|
|
|
90 |
add_action('wpgdprc_deactivate_access_requests', array(Cron::getInstance(), 'deactivateAccessRequests'));
|
91 |
add_action('wp_ajax_wpgdprc_process_delete_request', array(Ajax::getInstance(), 'processDeleteRequest'));
|
92 |
add_shortcode('wpgdprc_access_request_form', array(Shortcode::getInstance(), 'accessRequestForm'));
|
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.3.1
|
8 |
Author: Van Ons
|
9 |
Author URI: https://www.van-ons.nl/
|
10 |
License: GPL2
|
37 |
use WPGDPRC\Includes\Helper;
|
38 |
use WPGDPRC\Includes\Integration;
|
39 |
use WPGDPRC\Includes\Page;
|
|
|
40 |
use WPGDPRC\Includes\Shortcode;
|
41 |
|
42 |
// If this file is called directly, abort.
|
44 |
die();
|
45 |
}
|
46 |
|
|
|
47 |
define('WP_GDPR_C_SLUG', 'wp-gdpr-compliance');
|
48 |
define('WP_GDPR_C_PREFIX', 'wpgdprc');
|
49 |
define('WP_GDPR_C_ROOT_FILE', __FILE__);
|
85 |
add_filter('pre_update_option_wpgdprc_settings_access_request_page', array(Filter::getInstance(), 'processEnableAccessRequest'));
|
86 |
Integration::getInstance();
|
87 |
if (Helper::isEnabled('enable_access_request', 'settings')) {
|
88 |
+
add_action('admin_notices', array(Action::getInstance(), 'showNoticesRequestUserData'));
|
89 |
add_action('wpgdprc_deactivate_access_requests', array(Cron::getInstance(), 'deactivateAccessRequests'));
|
90 |
add_action('wp_ajax_wpgdprc_process_delete_request', array(Ajax::getInstance(), 'processDeleteRequest'));
|
91 |
add_shortcode('wpgdprc_access_request_form', array(Shortcode::getInstance(), 'accessRequestForm'));
|