WP GDPR Compliance - Version 1.4.1

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 Icon 128x128 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 CHANGED
@@ -23,11 +23,9 @@ class Integration {
23
  foreach (Helper::getEnabledPlugins() as $plugin) {
24
  switch ($plugin['id']) {
25
  case WP::ID :
26
- if (!current_user_can('administrator')) {
27
- add_filter('comment_form_submit_field', array(WP::getInstance(), 'addField'), 999);
28
- add_action('pre_comment_on_post', array(WP::getInstance(), 'checkPost'));
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 foreach ($consents as $consent) : ?>
 
 
 
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($consent->getTitle())) ? $consent->getTitle() : __('(no title)'))
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
- <?php endforeach; ?>
 
 
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 09:53+0200\n"
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:733
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:652 Includes/Page.php:734
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:115 Includes/Integration.php:156
467
  #, php-format
468
  msgid "Form: %s"
469
  msgstr ""
470
 
471
- #: Includes/Integration.php:116 Includes/Integration.php:157
472
  msgid "Activate for this form:"
473
  msgstr ""
474
 
475
- #: Includes/Integration.php:119 Includes/Integration.php:160
476
- #: Includes/Integration.php:187 Includes/Page.php:355
477
  msgid "Checkbox text"
478
  msgstr ""
479
 
480
- #: Includes/Integration.php:125 Includes/Integration.php:166
481
- #: Includes/Integration.php:193
482
  msgid "Error message"
483
  msgstr ""
484
 
485
- #: Includes/Integration.php:135 Includes/Integration.php:176
486
  msgid "No forms found."
487
  msgstr ""
488
 
489
- #: Includes/Integration.php:219 Includes/Integration.php:259
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:236
496
  msgid "Please accept the privacy checkbox."
497
  msgstr ""
498
 
499
- #: Includes/Integration.php:247 Includes/Page.php:291 Includes/Page.php:293
500
  msgid "Privacy Policy"
501
  msgstr ""
502
 
503
- #: Includes/Integration.php:273
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:312 Includes/Page.php:640
513
  msgid "WordPress Comments"
514
  msgstr ""
515
 
516
- #: Includes/Integration.php:313
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:327
523
  msgid "Contact Form 7"
524
  msgstr ""
525
 
526
- #: Includes/Integration.php:328 Includes/Integration.php:335
527
  msgid "A GDPR form tag will be automatically added to every form you activate."
528
  msgstr ""
529
 
530
- #: Includes/Integration.php:334
531
  msgid "Gravity Forms"
532
  msgstr ""
533
 
534
- #: Includes/Integration.php:341 Includes/Page.php:641
535
  msgid "WooCommerce"
536
  msgstr ""
537
 
538
- #: Includes/Integration.php:342
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:762
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:655
795
  msgid "Action"
796
  msgstr ""
797
 
798
- #: Includes/Page.php:564
799
  msgid "(no title)"
800
  msgstr ""
801
 
802
- #: Includes/Page.php:578
803
  msgid "Edit"
804
  msgstr ""
805
 
806
- #: Includes/Page.php:583
807
  msgid "Remove"
808
  msgstr ""
809
 
810
- #: Includes/Page.php:588 wp-gdpr-compliance.php:184 wp-gdpr-compliance.php:202
811
  msgid "Yes"
812
  msgstr ""
813
 
814
- #: Includes/Page.php:588 wp-gdpr-compliance.php:185 wp-gdpr-compliance.php:203
815
  msgid "No"
816
  msgstr ""
817
 
818
- #: Includes/Page.php:609 Includes/Page.php:703 Includes/Page.php:785
819
  #, php-format
820
  msgid "%d of %d results found"
821
  msgstr ""
822
 
823
- #: Includes/Page.php:613
824
  msgid "No consents found."
825
  msgstr ""
826
 
827
- #: Includes/Page.php:637
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:639
834
  msgid "WordPress Users"
835
  msgstr ""
836
 
837
- #: Includes/Page.php:650
838
  msgid "Request"
839
  msgstr ""
840
 
841
- #: Includes/Page.php:651
842
  msgid "Type"
843
  msgstr ""
844
 
845
- #: Includes/Page.php:653 Includes/Page.php:735
846
  msgid "Date"
847
  msgstr ""
848
 
849
- #: Includes/Page.php:654
850
  msgid "Processed"
851
  msgstr ""
852
 
853
- #: Includes/Page.php:670
854
  msgid "View"
855
  msgstr ""
856
 
857
- #: Includes/Page.php:684
858
  msgid "Anonymise selected request(s)"
859
  msgstr ""
860
 
861
- #: Includes/Page.php:709 Includes/Page.php:791
862
  msgid "No requests found."
863
  msgstr ""
864
 
865
- #: Includes/Page.php:731
866
  msgid "ID"
867
  msgstr ""
868
 
869
- #: Includes/Page.php:732
870
  msgid "Requests to Process"
871
  msgstr ""
872
 
873
- #: Includes/Page.php:736
874
  msgid "Status"
875
  msgstr ""
876
 
877
- #: Includes/Page.php:754
878
  msgid "Manage"
879
  msgstr ""
880
 
881
- #: Includes/Page.php:762
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.0
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.0
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