Version Description
Release date: June 12th, 2018 * Also show the WordPress Comments checkbox for administrators. * Small bugfix in certain PHP versions.
Download this release
Release Info
Developer | donnyoexman |
Plugin | WP GDPR Compliance |
Version | 1.4.1 |
Comparing to | |
See all releases |
Code changes from version 1.4.0 to 1.4.1
- Includes/Integration.php +3 -5
- Includes/Page.php +8 -3
- languages/wp-gdpr-compliance.pot +44 -44
- readme.txt +6 -1
- wp-gdpr-compliance.php +1 -1
Includes/Integration.php
CHANGED
@@ -23,11 +23,9 @@ class Integration {
|
|
23 |
foreach (Helper::getEnabledPlugins() as $plugin) {
|
24 |
switch ($plugin['id']) {
|
25 |
case WP::ID :
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
add_action('comment_post', array(WP::getInstance(), 'addAcceptedDateToCommentMeta'));
|
30 |
-
}
|
31 |
add_filter('manage_edit-comments_columns', array(WP::getInstance(), 'displayAcceptedDateColumnInCommentOverview'));
|
32 |
add_action('manage_comments_custom_column', array(WP::getInstance(), 'displayAcceptedDateInCommentOverview'), 10, 2);
|
33 |
break;
|
23 |
foreach (Helper::getEnabledPlugins() as $plugin) {
|
24 |
switch ($plugin['id']) {
|
25 |
case WP::ID :
|
26 |
+
add_filter('comment_form_submit_field', array(WP::getInstance(), 'addField'), 999);
|
27 |
+
add_action('pre_comment_on_post', array(WP::getInstance(), 'checkPost'));
|
28 |
+
add_action('comment_post', array(WP::getInstance(), 'addAcceptedDateToCommentMeta'));
|
|
|
|
|
29 |
add_filter('manage_edit-comments_columns', array(WP::getInstance(), 'displayAcceptedDateColumnInCommentOverview'));
|
30 |
add_action('manage_comments_custom_column', array(WP::getInstance(), 'displayAcceptedDateInCommentOverview'), 10, 2);
|
31 |
break;
|
Includes/Page.php
CHANGED
@@ -553,7 +553,10 @@ class Page {
|
|
553 |
</tr>
|
554 |
</thead>
|
555 |
<tbody>
|
556 |
-
<?php
|
|
|
|
|
|
|
557 |
<tr class="wpgdprc-table__row <?php echo (!$consent->getActive()) ? 'wpgdprc-table__row--expired' : ''; ?>">
|
558 |
<td><?php printf('#%d', $consent->getId()); ?></td>
|
559 |
<td>
|
@@ -561,7 +564,7 @@ class Page {
|
|
561 |
printf(
|
562 |
'<a href="%s">%s</a>',
|
563 |
Consent::getActionUrl($consent->getId()),
|
564 |
-
((!empty($
|
565 |
);
|
566 |
?>
|
567 |
</td>
|
@@ -587,7 +590,9 @@ class Page {
|
|
587 |
</td>
|
588 |
<td><?php echo ($consent->getActive()) ? __('Yes', WP_GDPR_C_SLUG) : __('No', WP_GDPR_C_SLUG); ?></td>
|
589 |
</tr>
|
590 |
-
|
|
|
|
|
591 |
</tbody>
|
592 |
</table>
|
593 |
<div class="wpgdprc-pagination">
|
553 |
</tr>
|
554 |
</thead>
|
555 |
<tbody>
|
556 |
+
<?php
|
557 |
+
foreach ($consents as $consent) :
|
558 |
+
$title = $consent->getTitle();
|
559 |
+
?>
|
560 |
<tr class="wpgdprc-table__row <?php echo (!$consent->getActive()) ? 'wpgdprc-table__row--expired' : ''; ?>">
|
561 |
<td><?php printf('#%d', $consent->getId()); ?></td>
|
562 |
<td>
|
564 |
printf(
|
565 |
'<a href="%s">%s</a>',
|
566 |
Consent::getActionUrl($consent->getId()),
|
567 |
+
((!empty($title)) ? $title : __('(no title)'))
|
568 |
);
|
569 |
?>
|
570 |
</td>
|
590 |
</td>
|
591 |
<td><?php echo ($consent->getActive()) ? __('Yes', WP_GDPR_C_SLUG) : __('No', WP_GDPR_C_SLUG); ?></td>
|
592 |
</tr>
|
593 |
+
<?php
|
594 |
+
endforeach;
|
595 |
+
?>
|
596 |
</tbody>
|
597 |
</table>
|
598 |
<div class="wpgdprc-pagination">
|
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-06-12
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: Van Ons <info@van-ons.nl>\n"
|
8 |
"MIME-Version: 1.0\n"
|
@@ -276,7 +276,7 @@ msgid "Display Name"
|
|
276 |
msgstr ""
|
277 |
|
278 |
#: Includes/Data.php:54 Includes/Data.php:63 Includes/Data.php:70
|
279 |
-
#: Includes/Page.php:
|
280 |
msgid "Email Address"
|
281 |
msgstr ""
|
282 |
|
@@ -296,7 +296,7 @@ msgstr ""
|
|
296 |
msgid "Content"
|
297 |
msgstr ""
|
298 |
|
299 |
-
#: Includes/Data.php:64 Includes/Page.php:
|
300 |
msgid "IP Address"
|
301 |
msgstr ""
|
302 |
|
@@ -463,44 +463,44 @@ msgid ""
|
|
463 |
"mention if you will send or share the data with any 3rd-parties and which."
|
464 |
msgstr ""
|
465 |
|
466 |
-
#: Includes/Integration.php:
|
467 |
#, php-format
|
468 |
msgid "Form: %s"
|
469 |
msgstr ""
|
470 |
|
471 |
-
#: Includes/Integration.php:
|
472 |
msgid "Activate for this form:"
|
473 |
msgstr ""
|
474 |
|
475 |
-
#: Includes/Integration.php:
|
476 |
-
#: Includes/Integration.php:
|
477 |
msgid "Checkbox text"
|
478 |
msgstr ""
|
479 |
|
480 |
-
#: Includes/Integration.php:
|
481 |
-
#: Includes/Integration.php:
|
482 |
msgid "Error message"
|
483 |
msgstr ""
|
484 |
|
485 |
-
#: Includes/Integration.php:
|
486 |
msgid "No forms found."
|
487 |
msgstr ""
|
488 |
|
489 |
-
#: Includes/Integration.php:
|
490 |
msgid ""
|
491 |
"By using this form you agree with the storage and handling of your data by "
|
492 |
"this website."
|
493 |
msgstr ""
|
494 |
|
495 |
-
#: Includes/Integration.php:
|
496 |
msgid "Please accept the privacy checkbox."
|
497 |
msgstr ""
|
498 |
|
499 |
-
#: Includes/Integration.php:
|
500 |
msgid "Privacy Policy"
|
501 |
msgstr ""
|
502 |
|
503 |
-
#: Includes/Integration.php:
|
504 |
#, php-format
|
505 |
msgid ""
|
506 |
"Below we show you all of the data stored by %s on %s. Select the data you "
|
@@ -509,33 +509,33 @@ msgid ""
|
|
509 |
"request. When your data is anonymised you will receive an email confirmation."
|
510 |
msgstr ""
|
511 |
|
512 |
-
#: Includes/Integration.php:
|
513 |
msgid "WordPress Comments"
|
514 |
msgstr ""
|
515 |
|
516 |
-
#: Includes/Integration.php:
|
517 |
msgid ""
|
518 |
"When activated the GDPR checkbox will be added automatically just above the "
|
519 |
"submit button."
|
520 |
msgstr ""
|
521 |
|
522 |
-
#: Includes/Integration.php:
|
523 |
msgid "Contact Form 7"
|
524 |
msgstr ""
|
525 |
|
526 |
-
#: Includes/Integration.php:
|
527 |
msgid "A GDPR form tag will be automatically added to every form you activate."
|
528 |
msgstr ""
|
529 |
|
530 |
-
#: Includes/Integration.php:
|
531 |
msgid "Gravity Forms"
|
532 |
msgstr ""
|
533 |
|
534 |
-
#: Includes/Integration.php:
|
535 |
msgid "WooCommerce"
|
536 |
msgstr ""
|
537 |
|
538 |
-
#: Includes/Integration.php:
|
539 |
msgid ""
|
540 |
"The GDPR checkbox will be added automatically at the end of your checkout "
|
541 |
"page."
|
@@ -710,7 +710,7 @@ msgstr ""
|
|
710 |
msgid "Add New Consent"
|
711 |
msgstr ""
|
712 |
|
713 |
-
#: Includes/Page.php:442 Includes/Page.php:552 Includes/Page.php:
|
714 |
msgid "Active"
|
715 |
msgstr ""
|
716 |
|
@@ -791,94 +791,94 @@ msgstr ""
|
|
791 |
msgid "Created at"
|
792 |
msgstr ""
|
793 |
|
794 |
-
#: Includes/Page.php:551 Includes/Page.php:
|
795 |
msgid "Action"
|
796 |
msgstr ""
|
797 |
|
798 |
-
#: Includes/Page.php:
|
799 |
msgid "(no title)"
|
800 |
msgstr ""
|
801 |
|
802 |
-
#: Includes/Page.php:
|
803 |
msgid "Edit"
|
804 |
msgstr ""
|
805 |
|
806 |
-
#: Includes/Page.php:
|
807 |
msgid "Remove"
|
808 |
msgstr ""
|
809 |
|
810 |
-
#: Includes/Page.php:
|
811 |
msgid "Yes"
|
812 |
msgstr ""
|
813 |
|
814 |
-
#: Includes/Page.php:
|
815 |
msgid "No"
|
816 |
msgstr ""
|
817 |
|
818 |
-
#: Includes/Page.php:
|
819 |
#, php-format
|
820 |
msgid "%d of %d results found"
|
821 |
msgstr ""
|
822 |
|
823 |
-
#: Includes/Page.php:
|
824 |
msgid "No consents found."
|
825 |
msgstr ""
|
826 |
|
827 |
-
#: Includes/Page.php:
|
828 |
msgid ""
|
829 |
"Anonymise a request by ticking the checkbox and clicking on the green "
|
830 |
"anonymise button below."
|
831 |
msgstr ""
|
832 |
|
833 |
-
#: Includes/Page.php:
|
834 |
msgid "WordPress Users"
|
835 |
msgstr ""
|
836 |
|
837 |
-
#: Includes/Page.php:
|
838 |
msgid "Request"
|
839 |
msgstr ""
|
840 |
|
841 |
-
#: Includes/Page.php:
|
842 |
msgid "Type"
|
843 |
msgstr ""
|
844 |
|
845 |
-
#: Includes/Page.php:
|
846 |
msgid "Date"
|
847 |
msgstr ""
|
848 |
|
849 |
-
#: Includes/Page.php:
|
850 |
msgid "Processed"
|
851 |
msgstr ""
|
852 |
|
853 |
-
#: Includes/Page.php:
|
854 |
msgid "View"
|
855 |
msgstr ""
|
856 |
|
857 |
-
#: Includes/Page.php:
|
858 |
msgid "Anonymise selected request(s)"
|
859 |
msgstr ""
|
860 |
|
861 |
-
#: Includes/Page.php:
|
862 |
msgid "No requests found."
|
863 |
msgstr ""
|
864 |
|
865 |
-
#: Includes/Page.php:
|
866 |
msgid "ID"
|
867 |
msgstr ""
|
868 |
|
869 |
-
#: Includes/Page.php:
|
870 |
msgid "Requests to Process"
|
871 |
msgstr ""
|
872 |
|
873 |
-
#: Includes/Page.php:
|
874 |
msgid "Status"
|
875 |
msgstr ""
|
876 |
|
877 |
-
#: Includes/Page.php:
|
878 |
msgid "Manage"
|
879 |
msgstr ""
|
880 |
|
881 |
-
#: Includes/Page.php:
|
882 |
msgid "Expired"
|
883 |
msgstr ""
|
884 |
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: WP GDPR Compliance\n"
|
5 |
+
"POT-Creation-Date: 2018-06-12 11:17+0200\n"
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: Van Ons <info@van-ons.nl>\n"
|
8 |
"MIME-Version: 1.0\n"
|
276 |
msgstr ""
|
277 |
|
278 |
#: Includes/Data.php:54 Includes/Data.php:63 Includes/Data.php:70
|
279 |
+
#: Includes/Page.php:735
|
280 |
msgid "Email Address"
|
281 |
msgstr ""
|
282 |
|
296 |
msgid "Content"
|
297 |
msgstr ""
|
298 |
|
299 |
+
#: Includes/Data.php:64 Includes/Page.php:654 Includes/Page.php:736
|
300 |
msgid "IP Address"
|
301 |
msgstr ""
|
302 |
|
463 |
"mention if you will send or share the data with any 3rd-parties and which."
|
464 |
msgstr ""
|
465 |
|
466 |
+
#: Includes/Integration.php:113 Includes/Integration.php:154
|
467 |
#, php-format
|
468 |
msgid "Form: %s"
|
469 |
msgstr ""
|
470 |
|
471 |
+
#: Includes/Integration.php:114 Includes/Integration.php:155
|
472 |
msgid "Activate for this form:"
|
473 |
msgstr ""
|
474 |
|
475 |
+
#: Includes/Integration.php:117 Includes/Integration.php:158
|
476 |
+
#: Includes/Integration.php:185 Includes/Page.php:355
|
477 |
msgid "Checkbox text"
|
478 |
msgstr ""
|
479 |
|
480 |
+
#: Includes/Integration.php:123 Includes/Integration.php:164
|
481 |
+
#: Includes/Integration.php:191
|
482 |
msgid "Error message"
|
483 |
msgstr ""
|
484 |
|
485 |
+
#: Includes/Integration.php:133 Includes/Integration.php:174
|
486 |
msgid "No forms found."
|
487 |
msgstr ""
|
488 |
|
489 |
+
#: Includes/Integration.php:217 Includes/Integration.php:257
|
490 |
msgid ""
|
491 |
"By using this form you agree with the storage and handling of your data by "
|
492 |
"this website."
|
493 |
msgstr ""
|
494 |
|
495 |
+
#: Includes/Integration.php:234
|
496 |
msgid "Please accept the privacy checkbox."
|
497 |
msgstr ""
|
498 |
|
499 |
+
#: Includes/Integration.php:245 Includes/Page.php:291 Includes/Page.php:293
|
500 |
msgid "Privacy Policy"
|
501 |
msgstr ""
|
502 |
|
503 |
+
#: Includes/Integration.php:271
|
504 |
#, php-format
|
505 |
msgid ""
|
506 |
"Below we show you all of the data stored by %s on %s. Select the data you "
|
509 |
"request. When your data is anonymised you will receive an email confirmation."
|
510 |
msgstr ""
|
511 |
|
512 |
+
#: Includes/Integration.php:310 Includes/Page.php:642
|
513 |
msgid "WordPress Comments"
|
514 |
msgstr ""
|
515 |
|
516 |
+
#: Includes/Integration.php:311
|
517 |
msgid ""
|
518 |
"When activated the GDPR checkbox will be added automatically just above the "
|
519 |
"submit button."
|
520 |
msgstr ""
|
521 |
|
522 |
+
#: Includes/Integration.php:325
|
523 |
msgid "Contact Form 7"
|
524 |
msgstr ""
|
525 |
|
526 |
+
#: Includes/Integration.php:326 Includes/Integration.php:333
|
527 |
msgid "A GDPR form tag will be automatically added to every form you activate."
|
528 |
msgstr ""
|
529 |
|
530 |
+
#: Includes/Integration.php:332
|
531 |
msgid "Gravity Forms"
|
532 |
msgstr ""
|
533 |
|
534 |
+
#: Includes/Integration.php:339 Includes/Page.php:643
|
535 |
msgid "WooCommerce"
|
536 |
msgstr ""
|
537 |
|
538 |
+
#: Includes/Integration.php:340
|
539 |
msgid ""
|
540 |
"The GDPR checkbox will be added automatically at the end of your checkout "
|
541 |
"page."
|
710 |
msgid "Add New Consent"
|
711 |
msgstr ""
|
712 |
|
713 |
+
#: Includes/Page.php:442 Includes/Page.php:552 Includes/Page.php:764
|
714 |
msgid "Active"
|
715 |
msgstr ""
|
716 |
|
791 |
msgid "Created at"
|
792 |
msgstr ""
|
793 |
|
794 |
+
#: Includes/Page.php:551 Includes/Page.php:657
|
795 |
msgid "Action"
|
796 |
msgstr ""
|
797 |
|
798 |
+
#: Includes/Page.php:566
|
799 |
msgid "(no title)"
|
800 |
msgstr ""
|
801 |
|
802 |
+
#: Includes/Page.php:580
|
803 |
msgid "Edit"
|
804 |
msgstr ""
|
805 |
|
806 |
+
#: Includes/Page.php:585
|
807 |
msgid "Remove"
|
808 |
msgstr ""
|
809 |
|
810 |
+
#: Includes/Page.php:590 wp-gdpr-compliance.php:184 wp-gdpr-compliance.php:202
|
811 |
msgid "Yes"
|
812 |
msgstr ""
|
813 |
|
814 |
+
#: Includes/Page.php:590 wp-gdpr-compliance.php:185 wp-gdpr-compliance.php:203
|
815 |
msgid "No"
|
816 |
msgstr ""
|
817 |
|
818 |
+
#: Includes/Page.php:611 Includes/Page.php:705 Includes/Page.php:787
|
819 |
#, php-format
|
820 |
msgid "%d of %d results found"
|
821 |
msgstr ""
|
822 |
|
823 |
+
#: Includes/Page.php:615
|
824 |
msgid "No consents found."
|
825 |
msgstr ""
|
826 |
|
827 |
+
#: Includes/Page.php:639
|
828 |
msgid ""
|
829 |
"Anonymise a request by ticking the checkbox and clicking on the green "
|
830 |
"anonymise button below."
|
831 |
msgstr ""
|
832 |
|
833 |
+
#: Includes/Page.php:641
|
834 |
msgid "WordPress Users"
|
835 |
msgstr ""
|
836 |
|
837 |
+
#: Includes/Page.php:652
|
838 |
msgid "Request"
|
839 |
msgstr ""
|
840 |
|
841 |
+
#: Includes/Page.php:653
|
842 |
msgid "Type"
|
843 |
msgstr ""
|
844 |
|
845 |
+
#: Includes/Page.php:655 Includes/Page.php:737
|
846 |
msgid "Date"
|
847 |
msgstr ""
|
848 |
|
849 |
+
#: Includes/Page.php:656
|
850 |
msgid "Processed"
|
851 |
msgstr ""
|
852 |
|
853 |
+
#: Includes/Page.php:672
|
854 |
msgid "View"
|
855 |
msgstr ""
|
856 |
|
857 |
+
#: Includes/Page.php:686
|
858 |
msgid "Anonymise selected request(s)"
|
859 |
msgstr ""
|
860 |
|
861 |
+
#: Includes/Page.php:711 Includes/Page.php:793
|
862 |
msgid "No requests found."
|
863 |
msgstr ""
|
864 |
|
865 |
+
#: Includes/Page.php:733
|
866 |
msgid "ID"
|
867 |
msgstr ""
|
868 |
|
869 |
+
#: Includes/Page.php:734
|
870 |
msgid "Requests to Process"
|
871 |
msgstr ""
|
872 |
|
873 |
+
#: Includes/Page.php:738
|
874 |
msgid "Status"
|
875 |
msgstr ""
|
876 |
|
877 |
+
#: Includes/Page.php:756
|
878 |
msgid "Manage"
|
879 |
msgstr ""
|
880 |
|
881 |
+
#: Includes/Page.php:764
|
882 |
msgid "Expired"
|
883 |
msgstr ""
|
884 |
|
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.4.
|
8 |
License: GPLv2 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -39,6 +39,11 @@ You'll find answers to many of your questions on [wpgdprc.com](https://www.wpgdp
|
|
39 |
|
40 |
== Changelog ==
|
41 |
|
|
|
|
|
|
|
|
|
|
|
42 |
= 1.4.0 =
|
43 |
*Release date: June 8th, 2018*
|
44 |
* Small front-end fixes.
|
4 |
Requires at least: 4.5
|
5 |
Tested up to: 4.9.4
|
6 |
Requires PHP: 5.3
|
7 |
+
Stable tag: 1.4.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
39 |
|
40 |
== Changelog ==
|
41 |
|
42 |
+
= 1.4.1 =
|
43 |
+
*Release date: June 12th, 2018*
|
44 |
+
* Also show the WordPress Comments checkbox for administrators.
|
45 |
+
* Small bugfix in certain PHP versions.
|
46 |
+
|
47 |
= 1.4.0 =
|
48 |
*Release date: June 8th, 2018*
|
49 |
* Small front-end fixes.
|
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.4.
|
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.4.1
|
8 |
Author: Van Ons
|
9 |
Author URI: https://www.van-ons.nl/
|
10 |
License: GPL2
|