Version Description
Release date: May 24th, 2018 * Small bugfix for older WooCommerce versions. * Small bugfix for some translatable strings. * Bugfix to make sure the correct Gravity Forms field ID is determined. * Added checkbox to the WooCommerce register forms. * Hide WooCommerce orders section when plugin is inactive.
Download this release
Release Info
Developer | donnyoexman |
Plugin | WP GDPR Compliance |
Version | 1.3.5 |
Comparing to | |
See all releases |
Code changes from version 1.3.4 to 1.3.5
- Includes/Extensions/GForms.php +5 -3
- Includes/Extensions/WC.php +16 -2
- Includes/Integration.php +3 -1
- Includes/Shortcode.php +27 -15
- assets/css/admin.css +12 -7
- languages/wp-gdpr-compliance.pot +92 -77
- readme.txt +9 -1
- wp-gdpr-compliance.php +1 -1
Includes/Extensions/GForms.php
CHANGED
@@ -33,6 +33,7 @@ class GForms {
|
|
33 |
*/
|
34 |
public function addField($form = array()) {
|
35 |
$isUpdated = false;
|
|
|
36 |
$choices = array(
|
37 |
array(
|
38 |
'text' => self::getCheckboxText($form['id']),
|
@@ -41,15 +42,16 @@ class GForms {
|
|
41 |
)
|
42 |
);
|
43 |
foreach ($form['fields'] as &$field) {
|
|
|
|
|
|
|
44 |
if (isset($field->wpgdprc) && $field->wpgdprc === true) {
|
45 |
$field['choices'] = $choices;
|
46 |
$isUpdated = true;
|
47 |
}
|
48 |
}
|
49 |
if (!$isUpdated) {
|
50 |
-
$
|
51 |
-
$lastField = (isset($lastField[0])) ? $lastField[0] : false;
|
52 |
-
$id = (!empty($lastField)) ? (int)$lastField['id'] + 1 : 1;
|
53 |
$args = array(
|
54 |
'id' => $id,
|
55 |
'type' => 'checkbox',
|
33 |
*/
|
34 |
public function addField($form = array()) {
|
35 |
$isUpdated = false;
|
36 |
+
$lastFieldId = 0;
|
37 |
$choices = array(
|
38 |
array(
|
39 |
'text' => self::getCheckboxText($form['id']),
|
42 |
)
|
43 |
);
|
44 |
foreach ($form['fields'] as &$field) {
|
45 |
+
if ($field->id > $lastFieldId) {
|
46 |
+
$lastFieldId = intval($field->id);
|
47 |
+
}
|
48 |
if (isset($field->wpgdprc) && $field->wpgdprc === true) {
|
49 |
$field['choices'] = $choices;
|
50 |
$isUpdated = true;
|
51 |
}
|
52 |
}
|
53 |
if (!$isUpdated) {
|
54 |
+
$id = ((int)$lastFieldId > 0) ? $lastFieldId + 1 : 99;
|
|
|
|
|
55 |
$args = array(
|
56 |
'id' => $id,
|
57 |
'type' => 'checkbox',
|
Includes/Extensions/WC.php
CHANGED
@@ -31,12 +31,25 @@ class WC {
|
|
31 |
/**
|
32 |
* Check if WP GDPR checkbox is checked
|
33 |
*/
|
34 |
-
public function
|
35 |
if (!isset($_POST['wpgdprc'])) {
|
36 |
wc_add_notice(Integration::getErrorMessage(self::ID), 'error');
|
37 |
}
|
38 |
}
|
39 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
40 |
/**
|
41 |
* @param int $orderId
|
42 |
*/
|
@@ -50,8 +63,9 @@ class WC {
|
|
50 |
* @param \WC_Order $order
|
51 |
*/
|
52 |
public function displayAcceptedDateInOrderData(\WC_Order $order) {
|
|
|
53 |
$label = __('GDPR accepted on:', WP_GDPR_C_SLUG);
|
54 |
-
$date = get_post_meta($
|
55 |
$value = (!empty($date)) ? Helper::localDateFormat(get_option('date_format') . ' ' . get_option('time_format'), $date) : __('Not accepted.', WP_GDPR_C_SLUG);
|
56 |
echo apply_filters(
|
57 |
'wpgdprc_woocommerce_accepted_date_in_order_data',
|
31 |
/**
|
32 |
* Check if WP GDPR checkbox is checked
|
33 |
*/
|
34 |
+
public function checkPostCheckoutForm() {
|
35 |
if (!isset($_POST['wpgdprc'])) {
|
36 |
wc_add_notice(Integration::getErrorMessage(self::ID), 'error');
|
37 |
}
|
38 |
}
|
39 |
|
40 |
+
/**
|
41 |
+
* Check if WP GDPR checkbox is checked on register
|
42 |
+
*
|
43 |
+
* @param string $username
|
44 |
+
* @param string $emailAddress
|
45 |
+
* @param \WP_Error $errors
|
46 |
+
*/
|
47 |
+
public function checkPostRegisterForm($username = '', $emailAddress = '', \WP_Error $errors) {
|
48 |
+
if (!isset($_POST['wpgdprc'])) {
|
49 |
+
$errors->add('wpgdprc_error', Integration::getErrorMessage(self::ID));
|
50 |
+
}
|
51 |
+
}
|
52 |
+
|
53 |
/**
|
54 |
* @param int $orderId
|
55 |
*/
|
63 |
* @param \WC_Order $order
|
64 |
*/
|
65 |
public function displayAcceptedDateInOrderData(\WC_Order $order) {
|
66 |
+
$orderId = (method_exists($order, 'get_id')) ? $order->get_id() : $order->id;
|
67 |
$label = __('GDPR accepted on:', WP_GDPR_C_SLUG);
|
68 |
+
$date = get_post_meta($orderId, '_wpgdprc', true);
|
69 |
$value = (!empty($date)) ? Helper::localDateFormat(get_option('date_format') . ' ' . get_option('time_format'), $date) : __('Not accepted.', WP_GDPR_C_SLUG);
|
70 |
echo apply_filters(
|
71 |
'wpgdprc_woocommerce_accepted_date_in_order_data',
|
Includes/Integration.php
CHANGED
@@ -38,8 +38,10 @@ class Integration {
|
|
38 |
add_filter('wpcf7_validate_wpgdprc', array(CF7::getInstance(), 'validateField'), 10, 2);
|
39 |
break;
|
40 |
case WC::ID :
|
41 |
-
add_action('woocommerce_checkout_process', array(WC::getInstance(), '
|
|
|
42 |
add_action('woocommerce_review_order_before_submit', array(WC::getInstance(), 'addField'), 999);
|
|
|
43 |
add_action('woocommerce_checkout_update_order_meta', array(WC::getInstance(), 'addAcceptedDateToOrderMeta'));
|
44 |
add_action('woocommerce_admin_order_data_after_order_details', array(WC::getInstance(), 'displayAcceptedDateInOrderData'));
|
45 |
break;
|
38 |
add_filter('wpcf7_validate_wpgdprc', array(CF7::getInstance(), 'validateField'), 10, 2);
|
39 |
break;
|
40 |
case WC::ID :
|
41 |
+
add_action('woocommerce_checkout_process', array(WC::getInstance(), 'checkPostCheckoutForm'));
|
42 |
+
add_action('woocommerce_register_post', array(WC::getInstance(), 'checkPostRegisterForm'), 10, 3);
|
43 |
add_action('woocommerce_review_order_before_submit', array(WC::getInstance(), 'addField'), 999);
|
44 |
+
add_action('woocommerce_register_form', array(WC::getInstance(), 'addField'), 999);
|
45 |
add_action('woocommerce_checkout_update_order_meta', array(WC::getInstance(), 'addAcceptedDateToOrderMeta'));
|
46 |
add_action('woocommerce_admin_order_data_after_order_details', array(WC::getInstance(), 'displayAcceptedDateInOrderData'));
|
47 |
break;
|
Includes/Shortcode.php
CHANGED
@@ -25,11 +25,13 @@ class Shortcode {
|
|
25 |
$data = new Data($request->getEmailAddress());
|
26 |
$users = Data::getOutput($data->getUsers(), 'user', $request->getId());
|
27 |
$comments = Data::getOutput($data->getComments(), 'comment', $request->getId());
|
28 |
-
|
29 |
$output .= sprintf(
|
30 |
'<div class="wpgdprc-feedback wpgdprc-feedback--notice">%s</div>',
|
31 |
Integration::getDeleteRequestFormExplanationText()
|
32 |
);
|
|
|
|
|
33 |
$output .= sprintf('<h2 class="wpgdprc-title">%s</h2>', __('Users', WP_GDPR_C_SLUG));
|
34 |
if (!empty($users)) {
|
35 |
$output .= $users;
|
@@ -42,6 +44,8 @@ class Shortcode {
|
|
42 |
)
|
43 |
);
|
44 |
}
|
|
|
|
|
45 |
$output .= sprintf('<h2 class="wpgdprc-title">%s</h2>', __('Comments', WP_GDPR_C_SLUG));
|
46 |
if (!empty($comments)) {
|
47 |
$output .= $comments;
|
@@ -54,18 +58,25 @@ class Shortcode {
|
|
54 |
)
|
55 |
);
|
56 |
}
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
$output .= sprintf(
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
|
|
|
|
|
|
|
|
|
|
68 |
}
|
|
|
|
|
69 |
} else {
|
70 |
$accessRequestPage = Helper::getAccessRequestPage();
|
71 |
$output .= sprintf(
|
@@ -108,7 +119,7 @@ class Shortcode {
|
|
108 |
'wpgdprc_request_form_email_field',
|
109 |
sprintf(
|
110 |
'<p><input type="email" name="wpgdprc_email" id="wpgdprc-form__email" placeholder="%s" required /></p>',
|
111 |
-
|
112 |
)
|
113 |
);
|
114 |
$output .= apply_filters(
|
@@ -122,14 +133,15 @@ class Shortcode {
|
|
122 |
'wpgdprc_request_form_submit_field',
|
123 |
sprintf(
|
124 |
'<p><input type="submit" name="wpgdprc_submit" value="%s" /></p>',
|
125 |
-
|
126 |
)
|
127 |
);
|
128 |
$output .= '<div class="wpgdprc-feedback" style="display: none;"></div>';
|
129 |
$output .= '</form>';
|
|
|
130 |
}
|
131 |
$output .= '</div>';
|
132 |
-
return
|
133 |
}
|
134 |
|
135 |
/**
|
25 |
$data = new Data($request->getEmailAddress());
|
26 |
$users = Data::getOutput($data->getUsers(), 'user', $request->getId());
|
27 |
$comments = Data::getOutput($data->getComments(), 'comment', $request->getId());
|
28 |
+
|
29 |
$output .= sprintf(
|
30 |
'<div class="wpgdprc-feedback wpgdprc-feedback--notice">%s</div>',
|
31 |
Integration::getDeleteRequestFormExplanationText()
|
32 |
);
|
33 |
+
|
34 |
+
// WordPress Users
|
35 |
$output .= sprintf('<h2 class="wpgdprc-title">%s</h2>', __('Users', WP_GDPR_C_SLUG));
|
36 |
if (!empty($users)) {
|
37 |
$output .= $users;
|
44 |
)
|
45 |
);
|
46 |
}
|
47 |
+
|
48 |
+
// WordPress Comments
|
49 |
$output .= sprintf('<h2 class="wpgdprc-title">%s</h2>', __('Comments', WP_GDPR_C_SLUG));
|
50 |
if (!empty($comments)) {
|
51 |
$output .= $comments;
|
58 |
)
|
59 |
);
|
60 |
}
|
61 |
+
|
62 |
+
// WooCommerce Orders
|
63 |
+
if (in_array('woocommerce/woocommerce.php', Helper::getActivePlugins())) {
|
64 |
+
$woocommerceOrders = Data::getOutput($data->getWooCommerceOrders(), 'woocommerce_order', $request->getId());
|
65 |
+
$output .= sprintf('<h2 class="wpgdprc-title">%s</h2>', __('WooCommerce Orders', WP_GDPR_C_SLUG));
|
66 |
+
if (!empty($woocommerceOrders)) {
|
67 |
+
$output .= $woocommerceOrders;
|
68 |
+
} else {
|
69 |
+
$output .= sprintf(
|
70 |
+
'<div class="wpgdprc-feedback wpgdprc-feedback--notice">%s</div>',
|
71 |
+
sprintf(
|
72 |
+
__('No WooCommerce orders found with email address %s.', WP_GDPR_C_SLUG),
|
73 |
+
sprintf('<strong>%s</strong>', $request->getEmailAddress())
|
74 |
+
)
|
75 |
+
);
|
76 |
+
}
|
77 |
}
|
78 |
+
|
79 |
+
$output = apply_filters('wpgdprc_request_data', $output, $data, $request);
|
80 |
} else {
|
81 |
$accessRequestPage = Helper::getAccessRequestPage();
|
82 |
$output .= sprintf(
|
119 |
'wpgdprc_request_form_email_field',
|
120 |
sprintf(
|
121 |
'<p><input type="email" name="wpgdprc_email" id="wpgdprc-form__email" placeholder="%s" required /></p>',
|
122 |
+
apply_filters('wpgdprc_request_form_email_label', esc_attr__('Your Email Address', WP_GDPR_C_SLUG))
|
123 |
)
|
124 |
);
|
125 |
$output .= apply_filters(
|
133 |
'wpgdprc_request_form_submit_field',
|
134 |
sprintf(
|
135 |
'<p><input type="submit" name="wpgdprc_submit" value="%s" /></p>',
|
136 |
+
apply_filters('wpgdprc_request_form_submit_label', esc_attr__('Send', WP_GDPR_C_SLUG))
|
137 |
)
|
138 |
);
|
139 |
$output .= '<div class="wpgdprc-feedback" style="display: none;"></div>';
|
140 |
$output .= '</form>';
|
141 |
+
$output = apply_filters('wpgdprc_request_form', $output);
|
142 |
}
|
143 |
$output .= '</div>';
|
144 |
+
return $output;
|
145 |
}
|
146 |
|
147 |
/**
|
assets/css/admin.css
CHANGED
@@ -247,16 +247,16 @@ table.wpgdprc-table tr.wpgdprc-table__row--expired {
|
|
247 |
}
|
248 |
|
249 |
.wpgdprc-sidebar {
|
250 |
-
flex: 3;
|
251 |
padding: 0 20px;
|
|
|
252 |
align-items: flex-start;
|
253 |
align-content: flex-start;
|
254 |
}
|
255 |
|
256 |
.wpgdprc-sidebar-block {
|
257 |
-
|
258 |
padding: 20px;
|
259 |
-
|
260 |
border-bottom: 2px solid #DFDFDF;
|
261 |
border-radius: 5px;
|
262 |
}
|
@@ -267,6 +267,7 @@ table.wpgdprc-table tr.wpgdprc-table__row--expired {
|
|
267 |
}
|
268 |
|
269 |
.wpgdprc-sidebar-block--no-background {
|
|
|
270 |
background: none;
|
271 |
border: 0;
|
272 |
}
|
@@ -650,11 +651,14 @@ span.wpgdprc-instructions {
|
|
650 |
}
|
651 |
.wpgdprc-sidebar {
|
652 |
display: flex;
|
653 |
-
margin: 30px
|
|
|
|
|
654 |
}
|
655 |
.wpgdprc-sidebar-block {
|
656 |
-
margin:
|
657 |
-
|
|
|
658 |
}
|
659 |
}
|
660 |
|
@@ -665,7 +669,8 @@ span.wpgdprc-instructions {
|
|
665 |
.wpgdprc-sidebar-block {
|
666 |
max-width: 400px;
|
667 |
width: 100%;
|
668 |
-
margin:
|
|
|
669 |
}
|
670 |
.wpgdprc .button.button-primary {
|
671 |
height: auto;
|
247 |
}
|
248 |
|
249 |
.wpgdprc-sidebar {
|
|
|
250 |
padding: 0 20px;
|
251 |
+
flex: 3;
|
252 |
align-items: flex-start;
|
253 |
align-content: flex-start;
|
254 |
}
|
255 |
|
256 |
.wpgdprc-sidebar-block {
|
257 |
+
margin-bottom: 20px;
|
258 |
padding: 20px;
|
259 |
+
background: #F3F3F3;
|
260 |
border-bottom: 2px solid #DFDFDF;
|
261 |
border-radius: 5px;
|
262 |
}
|
267 |
}
|
268 |
|
269 |
.wpgdprc-sidebar-block--no-background {
|
270 |
+
padding: 0;
|
271 |
background: none;
|
272 |
border: 0;
|
273 |
}
|
651 |
}
|
652 |
.wpgdprc-sidebar {
|
653 |
display: flex;
|
654 |
+
margin-top: 30px;
|
655 |
+
padding-right: 0;
|
656 |
+
padding-left: 0;
|
657 |
}
|
658 |
.wpgdprc-sidebar-block {
|
659 |
+
margin-right: 15px;
|
660 |
+
margin-left: 15px;
|
661 |
+
width: 33.33333%;
|
662 |
}
|
663 |
}
|
664 |
|
669 |
.wpgdprc-sidebar-block {
|
670 |
max-width: 400px;
|
671 |
width: 100%;
|
672 |
+
margin-right: auto;
|
673 |
+
margin-left: auto;
|
674 |
}
|
675 |
.wpgdprc .button.button-primary {
|
676 |
height: auto;
|
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"
|
@@ -193,7 +193,7 @@ msgstr ""
|
|
193 |
msgid "This request has already been processed."
|
194 |
msgstr ""
|
195 |
|
196 |
-
#: Includes/Data.php:27 Includes/Extensions/WP.php:34 Includes/Shortcode.php:
|
197 |
#, php-format
|
198 |
msgid "<strong>ERROR</strong>: %s"
|
199 |
msgstr ""
|
@@ -211,7 +211,7 @@ msgid "Display Name"
|
|
211 |
msgstr ""
|
212 |
|
213 |
#: Includes/Data.php:54 Includes/Data.php:63 Includes/Data.php:70
|
214 |
-
#: Includes/Page.php:
|
215 |
msgid "Email Address"
|
216 |
msgstr ""
|
217 |
|
@@ -231,7 +231,7 @@ msgstr ""
|
|
231 |
msgid "Content"
|
232 |
msgstr ""
|
233 |
|
234 |
-
#: Includes/Data.php:64 Includes/Page.php:
|
235 |
msgid "IP Address"
|
236 |
msgstr ""
|
237 |
|
@@ -272,21 +272,21 @@ msgstr ""
|
|
272 |
msgid "WooCommerce Order"
|
273 |
msgstr ""
|
274 |
|
275 |
-
#: Includes/Extensions/CF7.php:184 Includes/Extensions/GForms.php:
|
276 |
-
#: Includes/Extensions/GForms.php:
|
277 |
-
#: Includes/Extensions/WC.php:
|
278 |
msgid "Not accepted."
|
279 |
msgstr ""
|
280 |
|
281 |
-
#: Includes/Extensions/CF7.php:188 Includes/Extensions/WC.php:
|
282 |
msgid "GDPR accepted on:"
|
283 |
msgstr ""
|
284 |
|
285 |
-
#: Includes/Extensions/GForms.php:
|
286 |
msgid "Privacy"
|
287 |
msgstr ""
|
288 |
|
289 |
-
#: Includes/Extensions/GForms.php:
|
290 |
#, php-format
|
291 |
msgid "Accepted on %s."
|
292 |
msgstr ""
|
@@ -308,7 +308,7 @@ msgstr ""
|
|
308 |
msgid "You can use: %s"
|
309 |
msgstr ""
|
310 |
|
311 |
-
#: Includes/Helper.php:105 Includes/Helper.php:126 Includes/Page.php:
|
312 |
msgid "Note"
|
313 |
msgstr ""
|
314 |
|
@@ -386,44 +386,44 @@ msgid ""
|
|
386 |
"mention if you will send or share the data with any 3rd-parties and which."
|
387 |
msgstr ""
|
388 |
|
389 |
-
#: Includes/Integration.php:
|
390 |
#, php-format
|
391 |
msgid "Form: %s"
|
392 |
msgstr ""
|
393 |
|
394 |
-
#: Includes/Integration.php:
|
395 |
msgid "Activate for this form:"
|
396 |
msgstr ""
|
397 |
|
398 |
-
#: Includes/Integration.php:
|
399 |
-
#: Includes/Integration.php:
|
400 |
msgid "Checkbox text"
|
401 |
msgstr ""
|
402 |
|
403 |
-
#: Includes/Integration.php:
|
404 |
-
#: Includes/Integration.php:
|
405 |
msgid "Error message"
|
406 |
msgstr ""
|
407 |
|
408 |
-
#: Includes/Integration.php:
|
409 |
msgid "No forms found."
|
410 |
msgstr ""
|
411 |
|
412 |
-
#: Includes/Integration.php:
|
413 |
msgid ""
|
414 |
"By using this form you agree with the storage and handling of your data by "
|
415 |
"this website."
|
416 |
msgstr ""
|
417 |
|
418 |
-
#: Includes/Integration.php:
|
419 |
msgid "Please accept the privacy checkbox."
|
420 |
msgstr ""
|
421 |
|
422 |
-
#: Includes/Integration.php:
|
423 |
msgid "Privacy Policy"
|
424 |
msgstr ""
|
425 |
|
426 |
-
#: Includes/Integration.php:
|
427 |
#, php-format
|
428 |
msgid ""
|
429 |
"Below we show you all of the data stored by %s on %s. Select the data you "
|
@@ -432,33 +432,33 @@ msgid ""
|
|
432 |
"request. When your data is anonymised you will receive an email confirmation."
|
433 |
msgstr ""
|
434 |
|
435 |
-
#: Includes/Integration.php:
|
436 |
msgid "WordPress Comments"
|
437 |
msgstr ""
|
438 |
|
439 |
-
#: Includes/Integration.php:
|
440 |
msgid ""
|
441 |
"When activated the GDPR checkbox will be added automatically just above the "
|
442 |
"submit button."
|
443 |
msgstr ""
|
444 |
|
445 |
-
#: Includes/Integration.php:
|
446 |
msgid "Contact Form 7"
|
447 |
msgstr ""
|
448 |
|
449 |
-
#: Includes/Integration.php:
|
450 |
msgid "A GDPR form tag will be automatically added to every form you activate."
|
451 |
msgstr ""
|
452 |
|
453 |
-
#: Includes/Integration.php:
|
454 |
msgid "Gravity Forms"
|
455 |
msgstr ""
|
456 |
|
457 |
-
#: Includes/Integration.php:
|
458 |
msgid "WooCommerce"
|
459 |
msgstr ""
|
460 |
|
461 |
-
#: Includes/Integration.php:
|
462 |
msgid ""
|
463 |
"The GDPR checkbox will be added automatically at the end of your checkout "
|
464 |
"page."
|
@@ -472,7 +472,7 @@ msgstr ""
|
|
472 |
msgid "Checklist"
|
473 |
msgstr ""
|
474 |
|
475 |
-
#: Includes/Page.php:75 wp-gdpr-compliance.php:
|
476 |
msgid "Settings"
|
477 |
msgstr ""
|
478 |
|
@@ -519,54 +519,69 @@ msgstr ""
|
|
519 |
msgid "Write a review"
|
520 |
msgstr ""
|
521 |
|
522 |
-
#: Includes/Page.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
523 |
msgid "Yes"
|
524 |
msgstr ""
|
525 |
|
526 |
-
#: Includes/Page.php:
|
527 |
msgid "No"
|
528 |
msgstr ""
|
529 |
|
530 |
-
#: Includes/Page.php:
|
531 |
msgid "Enable:"
|
532 |
msgstr ""
|
533 |
|
534 |
-
#: Includes/Page.php:
|
535 |
#, php-format
|
536 |
msgid "This plugin is outdated. %s supports version %s and up."
|
537 |
msgstr ""
|
538 |
|
539 |
-
#: Includes/Page.php:
|
540 |
msgid "Couldn't find any supported plugins installed."
|
541 |
msgstr ""
|
542 |
|
543 |
-
#: Includes/Page.php:
|
544 |
msgid "The following plugins are supported as of now:"
|
545 |
msgstr ""
|
546 |
|
547 |
-
#: Includes/Page.php:
|
548 |
msgid "More plugins will be added in the future."
|
549 |
msgstr ""
|
550 |
|
551 |
-
#: Includes/Page.php:
|
552 |
msgid ""
|
553 |
"Below we ask you what private data you currently collect and provide you "
|
554 |
"with tips to comply."
|
555 |
msgstr ""
|
556 |
|
557 |
-
#: Includes/Page.php:
|
558 |
msgid "Select an option"
|
559 |
msgstr ""
|
560 |
|
561 |
-
#: Includes/Page.php:
|
562 |
msgid "Link text"
|
563 |
msgstr ""
|
564 |
|
565 |
-
#: Includes/Page.php:
|
566 |
msgid "Request User Data"
|
567 |
msgstr ""
|
568 |
|
569 |
-
#: Includes/Page.php:
|
570 |
msgid ""
|
571 |
"Allow your site's visitors to request their data stored in the WordPress "
|
572 |
"database (comments, WooCommerce orders etc.). Data found is send to their "
|
@@ -574,132 +589,132 @@ msgid ""
|
|
574 |
"data anonymised."
|
575 |
msgstr ""
|
576 |
|
577 |
-
#: Includes/Page.php:
|
578 |
msgid "Activate"
|
579 |
msgstr ""
|
580 |
|
581 |
-
#: Includes/Page.php:
|
582 |
msgid "Activate page"
|
583 |
msgstr ""
|
584 |
|
585 |
-
#: Includes/Page.php:
|
586 |
#, php-format
|
587 |
msgid ""
|
588 |
"Enabling this will create one private page containing the necessary "
|
589 |
"shortcode: %s. You can determine when and how to publish this page yourself."
|
590 |
msgstr ""
|
591 |
|
592 |
-
#: Includes/Page.php:
|
593 |
msgid "Page"
|
594 |
msgstr ""
|
595 |
|
596 |
-
#: Includes/Page.php:
|
597 |
msgid "Click here to edit this page"
|
598 |
msgstr ""
|
599 |
|
600 |
-
#: Includes/Page.php:
|
601 |
msgid "Anonymise request explanation"
|
602 |
msgstr ""
|
603 |
|
604 |
-
#: Includes/Page.php:
|
605 |
msgid ""
|
606 |
"Anonymise a request by ticking the checkbox and clicking on the green "
|
607 |
"anonymise button below."
|
608 |
msgstr ""
|
609 |
|
610 |
-
#: Includes/Page.php:
|
611 |
msgid "WordPress Users"
|
612 |
msgstr ""
|
613 |
|
614 |
-
#: Includes/Page.php:
|
615 |
msgid "Request"
|
616 |
msgstr ""
|
617 |
|
618 |
-
#: Includes/Page.php:
|
619 |
msgid "Type"
|
620 |
msgstr ""
|
621 |
|
622 |
-
#: Includes/Page.php:
|
623 |
msgid "Date"
|
624 |
msgstr ""
|
625 |
|
626 |
-
#: Includes/Page.php:
|
627 |
msgid "Processed"
|
628 |
msgstr ""
|
629 |
|
630 |
-
#: Includes/Page.php:
|
631 |
msgid "Action"
|
632 |
msgstr ""
|
633 |
|
634 |
-
#: Includes/Page.php:
|
635 |
msgid "View"
|
636 |
msgstr ""
|
637 |
|
638 |
-
#: Includes/Page.php:
|
639 |
msgid "Anonymise selected request(s)"
|
640 |
msgstr ""
|
641 |
|
642 |
-
#: Includes/Page.php:
|
643 |
#, php-format
|
644 |
msgid "%d of %d results found"
|
645 |
msgstr ""
|
646 |
|
647 |
-
#: Includes/Page.php:
|
648 |
msgid "No requests found."
|
649 |
msgstr ""
|
650 |
|
651 |
-
#: Includes/Page.php:
|
652 |
msgid "ID"
|
653 |
msgstr ""
|
654 |
|
655 |
-
#: Includes/Page.php:
|
656 |
msgid "Requests to Process"
|
657 |
msgstr ""
|
658 |
|
659 |
-
#: Includes/Page.php:
|
660 |
msgid "Status"
|
661 |
msgstr ""
|
662 |
|
663 |
-
#: Includes/Page.php:
|
664 |
msgid "Manage"
|
665 |
msgstr ""
|
666 |
|
667 |
-
#: Includes/Page.php:
|
668 |
msgid "Expired"
|
669 |
msgstr ""
|
670 |
|
671 |
-
#: Includes/Page.php:
|
672 |
msgid "Active"
|
673 |
msgstr ""
|
674 |
|
675 |
-
#: Includes/Shortcode.php:
|
676 |
msgid "Users"
|
677 |
msgstr ""
|
678 |
|
679 |
-
#: Includes/Shortcode.php:
|
680 |
#, php-format
|
681 |
msgid "No users found with email address %s."
|
682 |
msgstr ""
|
683 |
|
684 |
-
#: Includes/Shortcode.php:
|
685 |
msgid "Comments"
|
686 |
msgstr ""
|
687 |
|
688 |
-
#: Includes/Shortcode.php:
|
689 |
#, php-format
|
690 |
msgid "No comments found with email address %s."
|
691 |
msgstr ""
|
692 |
|
693 |
-
#: Includes/Shortcode.php:
|
694 |
msgid "WooCommerce Orders"
|
695 |
msgstr ""
|
696 |
|
697 |
-
#: Includes/Shortcode.php:
|
698 |
#, php-format
|
699 |
msgid "No WooCommerce orders found with email address %s."
|
700 |
msgstr ""
|
701 |
|
702 |
-
#: Includes/Shortcode.php:
|
703 |
msgid ""
|
704 |
"You are only able to view your data when visiting this page on the same "
|
705 |
"device with the same IP and in the same browser session as when you "
|
@@ -707,23 +722,23 @@ msgid ""
|
|
707 |
"safe."
|
708 |
msgstr ""
|
709 |
|
710 |
-
#: Includes/Shortcode.php:
|
711 |
#, php-format
|
712 |
msgid "If needed you can put in a new request after 24 hours here: %s."
|
713 |
msgstr ""
|
714 |
|
715 |
-
#: Includes/Shortcode.php:
|
716 |
msgid "This request is expired or doesn't exist."
|
717 |
msgstr ""
|
718 |
|
719 |
-
#: Includes/Shortcode.php:
|
720 |
msgid "Your Email Address"
|
721 |
msgstr ""
|
722 |
|
723 |
-
#: Includes/Shortcode.php:
|
724 |
msgid "Send"
|
725 |
msgstr ""
|
726 |
|
727 |
-
#: wp-gdpr-compliance.php:
|
728 |
msgid "View WP GDPR Compliance settings"
|
729 |
msgstr ""
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: WP GDPR Compliance\n"
|
5 |
+
"POT-Creation-Date: 2018-05-24 15:03+0200\n"
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: Van Ons <info@van-ons.nl>\n"
|
8 |
"MIME-Version: 1.0\n"
|
193 |
msgid "This request has already been processed."
|
194 |
msgstr ""
|
195 |
|
196 |
+
#: Includes/Data.php:27 Includes/Extensions/WP.php:34 Includes/Shortcode.php:85
|
197 |
#, php-format
|
198 |
msgid "<strong>ERROR</strong>: %s"
|
199 |
msgstr ""
|
211 |
msgstr ""
|
212 |
|
213 |
#: Includes/Data.php:54 Includes/Data.php:63 Includes/Data.php:70
|
214 |
+
#: Includes/Page.php:483
|
215 |
msgid "Email Address"
|
216 |
msgstr ""
|
217 |
|
231 |
msgid "Content"
|
232 |
msgstr ""
|
233 |
|
234 |
+
#: Includes/Data.php:64 Includes/Page.php:399 Includes/Page.php:484
|
235 |
msgid "IP Address"
|
236 |
msgstr ""
|
237 |
|
272 |
msgid "WooCommerce Order"
|
273 |
msgstr ""
|
274 |
|
275 |
+
#: Includes/Extensions/CF7.php:184 Includes/Extensions/GForms.php:113
|
276 |
+
#: Includes/Extensions/GForms.php:129 Includes/Extensions/GForms.php:148
|
277 |
+
#: Includes/Extensions/WC.php:69 Includes/Extensions/WP.php:69
|
278 |
msgid "Not accepted."
|
279 |
msgstr ""
|
280 |
|
281 |
+
#: Includes/Extensions/CF7.php:188 Includes/Extensions/WC.php:67
|
282 |
msgid "GDPR accepted on:"
|
283 |
msgstr ""
|
284 |
|
285 |
+
#: Includes/Extensions/GForms.php:58 Includes/Extensions/GForms.php:97
|
286 |
msgid "Privacy"
|
287 |
msgstr ""
|
288 |
|
289 |
+
#: Includes/Extensions/GForms.php:146
|
290 |
#, php-format
|
291 |
msgid "Accepted on %s."
|
292 |
msgstr ""
|
308 |
msgid "You can use: %s"
|
309 |
msgstr ""
|
310 |
|
311 |
+
#: Includes/Helper.php:105 Includes/Helper.php:126 Includes/Page.php:317
|
312 |
msgid "Note"
|
313 |
msgstr ""
|
314 |
|
386 |
"mention if you will send or share the data with any 3rd-parties and which."
|
387 |
msgstr ""
|
388 |
|
389 |
+
#: Includes/Integration.php:113 Includes/Integration.php:154
|
390 |
#, php-format
|
391 |
msgid "Form: %s"
|
392 |
msgstr ""
|
393 |
|
394 |
+
#: Includes/Integration.php:114 Includes/Integration.php:155
|
395 |
msgid "Activate for this form:"
|
396 |
msgstr ""
|
397 |
|
398 |
+
#: Includes/Integration.php:117 Includes/Integration.php:158
|
399 |
+
#: Includes/Integration.php:185 Includes/Page.php:347
|
400 |
msgid "Checkbox text"
|
401 |
msgstr ""
|
402 |
|
403 |
+
#: Includes/Integration.php:123 Includes/Integration.php:164
|
404 |
+
#: Includes/Integration.php:191
|
405 |
msgid "Error message"
|
406 |
msgstr ""
|
407 |
|
408 |
+
#: Includes/Integration.php:133 Includes/Integration.php:174
|
409 |
msgid "No forms found."
|
410 |
msgstr ""
|
411 |
|
412 |
+
#: Includes/Integration.php:217 Includes/Integration.php:257
|
413 |
msgid ""
|
414 |
"By using this form you agree with the storage and handling of your data by "
|
415 |
"this website."
|
416 |
msgstr ""
|
417 |
|
418 |
+
#: Includes/Integration.php:234
|
419 |
msgid "Please accept the privacy checkbox."
|
420 |
msgstr ""
|
421 |
|
422 |
+
#: Includes/Integration.php:245 Includes/Page.php:283 Includes/Page.php:287
|
423 |
msgid "Privacy Policy"
|
424 |
msgstr ""
|
425 |
|
426 |
+
#: Includes/Integration.php:270
|
427 |
#, php-format
|
428 |
msgid ""
|
429 |
"Below we show you all of the data stored by %s on %s. Select the data you "
|
432 |
"request. When your data is anonymised you will receive an email confirmation."
|
433 |
msgstr ""
|
434 |
|
435 |
+
#: Includes/Integration.php:308 Includes/Page.php:387
|
436 |
msgid "WordPress Comments"
|
437 |
msgstr ""
|
438 |
|
439 |
+
#: Includes/Integration.php:309
|
440 |
msgid ""
|
441 |
"When activated the GDPR checkbox will be added automatically just above the "
|
442 |
"submit button."
|
443 |
msgstr ""
|
444 |
|
445 |
+
#: Includes/Integration.php:323
|
446 |
msgid "Contact Form 7"
|
447 |
msgstr ""
|
448 |
|
449 |
+
#: Includes/Integration.php:324 Includes/Integration.php:331
|
450 |
msgid "A GDPR form tag will be automatically added to every form you activate."
|
451 |
msgstr ""
|
452 |
|
453 |
+
#: Includes/Integration.php:330
|
454 |
msgid "Gravity Forms"
|
455 |
msgstr ""
|
456 |
|
457 |
+
#: Includes/Integration.php:337 Includes/Page.php:388
|
458 |
msgid "WooCommerce"
|
459 |
msgstr ""
|
460 |
|
461 |
+
#: Includes/Integration.php:338
|
462 |
msgid ""
|
463 |
"The GDPR checkbox will be added automatically at the end of your checkout "
|
464 |
"page."
|
472 |
msgid "Checklist"
|
473 |
msgstr ""
|
474 |
|
475 |
+
#: Includes/Page.php:75 wp-gdpr-compliance.php:109
|
476 |
msgid "Settings"
|
477 |
msgstr ""
|
478 |
|
519 |
msgid "Write a review"
|
520 |
msgstr ""
|
521 |
|
522 |
+
#: Includes/Page.php:137
|
523 |
+
msgid "Support"
|
524 |
+
msgstr ""
|
525 |
+
|
526 |
+
#: Includes/Page.php:139
|
527 |
+
#, php-format
|
528 |
+
msgid ""
|
529 |
+
"Need a helping hand? Please ask for help on the %s. Be sure to mention your "
|
530 |
+
"WordPress version and give as much additional information as possible."
|
531 |
+
msgstr ""
|
532 |
+
|
533 |
+
#: Includes/Page.php:140
|
534 |
+
msgid "Support forum"
|
535 |
+
msgstr ""
|
536 |
+
|
537 |
+
#: Includes/Page.php:149
|
538 |
msgid "Yes"
|
539 |
msgstr ""
|
540 |
|
541 |
+
#: Includes/Page.php:150
|
542 |
msgid "No"
|
543 |
msgstr ""
|
544 |
|
545 |
+
#: Includes/Page.php:177
|
546 |
msgid "Enable:"
|
547 |
msgstr ""
|
548 |
|
549 |
+
#: Includes/Page.php:203
|
550 |
#, php-format
|
551 |
msgid "This plugin is outdated. %s supports version %s and up."
|
552 |
msgstr ""
|
553 |
|
554 |
+
#: Includes/Page.php:212
|
555 |
msgid "Couldn't find any supported plugins installed."
|
556 |
msgstr ""
|
557 |
|
558 |
+
#: Includes/Page.php:213
|
559 |
msgid "The following plugins are supported as of now:"
|
560 |
msgstr ""
|
561 |
|
562 |
+
#: Includes/Page.php:219
|
563 |
msgid "More plugins will be added in the future."
|
564 |
msgstr ""
|
565 |
|
566 |
+
#: Includes/Page.php:231
|
567 |
msgid ""
|
568 |
"Below we ask you what private data you currently collect and provide you "
|
569 |
"with tips to comply."
|
570 |
msgstr ""
|
571 |
|
572 |
+
#: Includes/Page.php:292 Includes/Page.php:334
|
573 |
msgid "Select an option"
|
574 |
msgstr ""
|
575 |
|
576 |
+
#: Includes/Page.php:300
|
577 |
msgid "Link text"
|
578 |
msgstr ""
|
579 |
|
580 |
+
#: Includes/Page.php:305
|
581 |
msgid "Request User Data"
|
582 |
msgstr ""
|
583 |
|
584 |
+
#: Includes/Page.php:307
|
585 |
msgid ""
|
586 |
"Allow your site's visitors to request their data stored in the WordPress "
|
587 |
"database (comments, WooCommerce orders etc.). Data found is send to their "
|
589 |
"data anonymised."
|
590 |
msgstr ""
|
591 |
|
592 |
+
#: Includes/Page.php:310
|
593 |
msgid "Activate"
|
594 |
msgstr ""
|
595 |
|
596 |
+
#: Includes/Page.php:312
|
597 |
msgid "Activate page"
|
598 |
msgstr ""
|
599 |
|
600 |
+
#: Includes/Page.php:319
|
601 |
#, php-format
|
602 |
msgid ""
|
603 |
"Enabling this will create one private page containing the necessary "
|
604 |
"shortcode: %s. You can determine when and how to publish this page yourself."
|
605 |
msgstr ""
|
606 |
|
607 |
+
#: Includes/Page.php:329
|
608 |
msgid "Page"
|
609 |
msgstr ""
|
610 |
|
611 |
+
#: Includes/Page.php:341
|
612 |
msgid "Click here to edit this page"
|
613 |
msgstr ""
|
614 |
|
615 |
+
#: Includes/Page.php:353
|
616 |
msgid "Anonymise request explanation"
|
617 |
msgstr ""
|
618 |
|
619 |
+
#: Includes/Page.php:384
|
620 |
msgid ""
|
621 |
"Anonymise a request by ticking the checkbox and clicking on the green "
|
622 |
"anonymise button below."
|
623 |
msgstr ""
|
624 |
|
625 |
+
#: Includes/Page.php:386
|
626 |
msgid "WordPress Users"
|
627 |
msgstr ""
|
628 |
|
629 |
+
#: Includes/Page.php:397
|
630 |
msgid "Request"
|
631 |
msgstr ""
|
632 |
|
633 |
+
#: Includes/Page.php:398
|
634 |
msgid "Type"
|
635 |
msgstr ""
|
636 |
|
637 |
+
#: Includes/Page.php:400 Includes/Page.php:485
|
638 |
msgid "Date"
|
639 |
msgstr ""
|
640 |
|
641 |
+
#: Includes/Page.php:401
|
642 |
msgid "Processed"
|
643 |
msgstr ""
|
644 |
|
645 |
+
#: Includes/Page.php:402
|
646 |
msgid "Action"
|
647 |
msgstr ""
|
648 |
|
649 |
+
#: Includes/Page.php:417
|
650 |
msgid "View"
|
651 |
msgstr ""
|
652 |
|
653 |
+
#: Includes/Page.php:431
|
654 |
msgid "Anonymise selected request(s)"
|
655 |
msgstr ""
|
656 |
|
657 |
+
#: Includes/Page.php:453 Includes/Page.php:544
|
658 |
#, php-format
|
659 |
msgid "%d of %d results found"
|
660 |
msgstr ""
|
661 |
|
662 |
+
#: Includes/Page.php:459 Includes/Page.php:550
|
663 |
msgid "No requests found."
|
664 |
msgstr ""
|
665 |
|
666 |
+
#: Includes/Page.php:481
|
667 |
msgid "ID"
|
668 |
msgstr ""
|
669 |
|
670 |
+
#: Includes/Page.php:482
|
671 |
msgid "Requests to Process"
|
672 |
msgstr ""
|
673 |
|
674 |
+
#: Includes/Page.php:486
|
675 |
msgid "Status"
|
676 |
msgstr ""
|
677 |
|
678 |
+
#: Includes/Page.php:510
|
679 |
msgid "Manage"
|
680 |
msgstr ""
|
681 |
|
682 |
+
#: Includes/Page.php:518
|
683 |
msgid "Expired"
|
684 |
msgstr ""
|
685 |
|
686 |
+
#: Includes/Page.php:518
|
687 |
msgid "Active"
|
688 |
msgstr ""
|
689 |
|
690 |
+
#: Includes/Shortcode.php:35
|
691 |
msgid "Users"
|
692 |
msgstr ""
|
693 |
|
694 |
+
#: Includes/Shortcode.php:42
|
695 |
#, php-format
|
696 |
msgid "No users found with email address %s."
|
697 |
msgstr ""
|
698 |
|
699 |
+
#: Includes/Shortcode.php:49
|
700 |
msgid "Comments"
|
701 |
msgstr ""
|
702 |
|
703 |
+
#: Includes/Shortcode.php:56
|
704 |
#, php-format
|
705 |
msgid "No comments found with email address %s."
|
706 |
msgstr ""
|
707 |
|
708 |
+
#: Includes/Shortcode.php:65
|
709 |
msgid "WooCommerce Orders"
|
710 |
msgstr ""
|
711 |
|
712 |
+
#: Includes/Shortcode.php:72
|
713 |
#, php-format
|
714 |
msgid "No WooCommerce orders found with email address %s."
|
715 |
msgstr ""
|
716 |
|
717 |
+
#: Includes/Shortcode.php:88
|
718 |
msgid ""
|
719 |
"You are only able to view your data when visiting this page on the same "
|
720 |
"device with the same IP and in the same browser session as when you "
|
722 |
"safe."
|
723 |
msgstr ""
|
724 |
|
725 |
+
#: Includes/Shortcode.php:90
|
726 |
#, php-format
|
727 |
msgid "If needed you can put in a new request after 24 hours here: %s."
|
728 |
msgstr ""
|
729 |
|
730 |
+
#: Includes/Shortcode.php:102
|
731 |
msgid "This request is expired or doesn't exist."
|
732 |
msgstr ""
|
733 |
|
734 |
+
#: Includes/Shortcode.php:122
|
735 |
msgid "Your Email Address"
|
736 |
msgstr ""
|
737 |
|
738 |
+
#: Includes/Shortcode.php:136
|
739 |
msgid "Send"
|
740 |
msgstr ""
|
741 |
|
742 |
+
#: wp-gdpr-compliance.php:109
|
743 |
msgid "View WP GDPR Compliance settings"
|
744 |
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,14 @@ You'll find answers to many of your questions on [wpgdprc.com](https://www.wpgdp
|
|
38 |
|
39 |
== Changelog ==
|
40 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
= 1.3.4 =
|
42 |
*Release date: May 16th, 2018*
|
43 |
* Fixed a bug when creating the database tables used by the request user data functionality.
|
4 |
Requires at least: 4.5
|
5 |
Tested up to: 4.9.4
|
6 |
Requires PHP: 5.3
|
7 |
+
Stable tag: 1.3.5
|
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.5 =
|
42 |
+
*Release date: May 24th, 2018*
|
43 |
+
* Small bugfix for older WooCommerce versions.
|
44 |
+
* Small bugfix for some translatable strings.
|
45 |
+
* Bugfix to make sure the correct Gravity Forms field ID is determined.
|
46 |
+
* Added checkbox to the WooCommerce register forms.
|
47 |
+
* Hide WooCommerce orders section when plugin is inactive.
|
48 |
+
|
49 |
= 1.3.4 =
|
50 |
*Release date: May 16th, 2018*
|
51 |
* Fixed a bug when creating the database tables used by the request user data functionality.
|
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
|
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.5
|
8 |
Author: Van Ons
|
9 |
Author URI: https://www.van-ons.nl/
|
10 |
License: GPL2
|