WP GDPR Compliance - Version 1.2.4

Version Description

Release date: April 3rd, 2018 * Show a notice when Jetpack is installed * Fixed a bug with WordPress Comments

Download this release

Release Info

Developer donnyoexman
Plugin Icon 128x128 WP GDPR Compliance
Version 1.2.4
Comparing to
See all releases

Code changes from version 1.2.3 to 1.2.4

Includes/Actions.php CHANGED
@@ -10,16 +10,6 @@ class Actions {
10
  /** @var null */
11
  private static $instance = null;
12
 
13
- /**
14
- * @return null|Actions
15
- */
16
- public static function getInstance() {
17
- if (!isset(self::$instance)) {
18
- self::$instance = new self();
19
- }
20
- return self::$instance;
21
- }
22
-
23
  /**
24
  * Stop WordPress from sending anything but essential data during the update check
25
  * @param array $query
@@ -35,4 +25,14 @@ class Actions {
35
  unset($query['initial_db_version']);
36
  return $query;
37
  }
 
 
 
 
 
 
 
 
 
 
38
  }
10
  /** @var null */
11
  private static $instance = null;
12
 
 
 
 
 
 
 
 
 
 
 
13
  /**
14
  * Stop WordPress from sending anything but essential data during the update check
15
  * @param array $query
25
  unset($query['initial_db_version']);
26
  return $query;
27
  }
28
+
29
+ /**
30
+ * @return null|Actions
31
+ */
32
+ public static function getInstance() {
33
+ if (!isset(self::$instance)) {
34
+ self::$instance = new self();
35
+ }
36
+ return self::$instance;
37
+ }
38
  }
Includes/Ajax.php CHANGED
@@ -10,16 +10,6 @@ class Ajax {
10
  /** @var null */
11
  private static $instance = null;
12
 
13
- /**
14
- * @return null|Ajax
15
- */
16
- public static function getInstance() {
17
- if (!isset(self::$instance)) {
18
- self::$instance = new self();
19
- }
20
- return self::$instance;
21
- }
22
-
23
  public function processAction() {
24
  check_ajax_referer('wpgdprc', 'security');
25
 
@@ -102,4 +92,14 @@ class Ajax {
102
  }
103
  return $value;
104
  }
 
 
 
 
 
 
 
 
 
 
105
  }
10
  /** @var null */
11
  private static $instance = null;
12
 
 
 
 
 
 
 
 
 
 
 
13
  public function processAction() {
14
  check_ajax_referer('wpgdprc', 'security');
15
 
92
  }
93
  return $value;
94
  }
95
+
96
+ /**
97
+ * @return null|Ajax
98
+ */
99
+ public static function getInstance() {
100
+ if (!isset(self::$instance)) {
101
+ self::$instance = new self();
102
+ }
103
+ return self::$instance;
104
+ }
105
  }
Includes/Extensions/CF7.php CHANGED
@@ -15,16 +15,6 @@ class CF7 {
15
  /** @var null */
16
  private static $instance = null;
17
 
18
- /**
19
- * @return null|CF7
20
- */
21
- public static function getInstance() {
22
- if (!isset(self::$instance)) {
23
- self::$instance = new self();
24
- }
25
- return self::$instance;
26
- }
27
-
28
  public function processIntegration() {
29
  $this->removeFormTagFromForms();
30
  $this->removeAcceptedDateFromForms();
@@ -133,6 +123,7 @@ class CF7 {
133
  $class .= ' wpcf7-not-valid';
134
  }
135
  $label_first = $tag->has_option('label_first');
 
136
  $atts = wpcf7_format_atts(array(
137
  'class' => $tag->get_class_option($class),
138
  'id' => $tag->get_id_option(),
@@ -160,7 +151,11 @@ class CF7 {
160
  );
161
  }
162
 
163
- $output = '<span class="wpcf7-list-item"><label>' . $output . '</label></span>';
 
 
 
 
164
  $output = sprintf(
165
  '<span class="wpcf7-form-control-wrap %1$s"><span %2$s>%3$s</span>%4$s</span>',
166
  sanitize_html_class($tag->name),
@@ -285,4 +280,14 @@ class CF7 {
285
  }
286
  return Integrations::getErrorMessage();
287
  }
 
 
 
 
 
 
 
 
 
 
288
  }
15
  /** @var null */
16
  private static $instance = null;
17
 
 
 
 
 
 
 
 
 
 
 
18
  public function processIntegration() {
19
  $this->removeFormTagFromForms();
20
  $this->removeAcceptedDateFromForms();
123
  $class .= ' wpcf7-not-valid';
124
  }
125
  $label_first = $tag->has_option('label_first');
126
+ $use_label_element = $tag->has_option('use_label_element');
127
  $atts = wpcf7_format_atts(array(
128
  'class' => $tag->get_class_option($class),
129
  'id' => $tag->get_id_option(),
151
  );
152
  }
153
 
154
+ if ($use_label_element) {
155
+ $output = '<label>' . $output . '</label>';
156
+ }
157
+
158
+ $output = '<span class="wpcf7-list-item">' . $output . '</span>';
159
  $output = sprintf(
160
  '<span class="wpcf7-form-control-wrap %1$s"><span %2$s>%3$s</span>%4$s</span>',
161
  sanitize_html_class($tag->name),
280
  }
281
  return Integrations::getErrorMessage();
282
  }
283
+
284
+ /**
285
+ * @return null|CF7
286
+ */
287
+ public static function getInstance() {
288
+ if (!isset(self::$instance)) {
289
+ self::$instance = new self();
290
+ }
291
+ return self::$instance;
292
+ }
293
  }
Includes/Helpers.php CHANGED
@@ -12,16 +12,6 @@ class Helpers {
12
  /** @var null */
13
  private static $instance = null;
14
 
15
- /**
16
- * @return null|Helpers
17
- */
18
- public static function getInstance() {
19
- if (!isset(self::$instance)) {
20
- self::$instance = new self();
21
- }
22
- return self::$instance;
23
- }
24
-
25
  /**
26
  * @return array
27
  */
@@ -95,6 +85,29 @@ class Helpers {
95
  return $output;
96
  }
97
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
98
  /**
99
  * @return float|int
100
  */
@@ -135,6 +148,15 @@ class Helpers {
135
  );
136
  }
137
 
 
 
 
 
 
 
 
 
 
138
  /**
139
  * @param string $plugin
140
  * @param string $type
@@ -147,11 +169,8 @@ class Helpers {
147
  /**
148
  * @return array
149
  */
150
- public static function getActivatedPlugins() {
151
- $output = array();
152
-
153
  $activePlugins = (array)get_option('active_plugins', array());
154
-
155
  // Catch network activated plugins
156
  $activeNetworkPlugins = (array)get_site_option('active_sitewide_plugins', array());
157
  if (!empty($activeNetworkPlugins)) {
@@ -161,7 +180,15 @@ class Helpers {
161
  }
162
  }
163
  }
 
 
164
 
 
 
 
 
 
 
165
  // Loop through supported plugins
166
  foreach (Integrations::getSupportedPlugins() as $plugin) {
167
  if (in_array($plugin['file'], $activePlugins)) {
@@ -242,4 +269,14 @@ class Helpers {
242
  $date = new \DateTime($date->format('Y-m-d H:i:s'), new \DateTimeZone('UTC'));
243
  return date_i18n($format, $date->getTimestamp(), true);
244
  }
 
 
 
 
 
 
 
 
 
 
245
  }
12
  /** @var null */
13
  private static $instance = null;
14
 
 
 
 
 
 
 
 
 
 
 
15
  /**
16
  * @return array
17
  */
85
  return $output;
86
  }
87
 
88
+ /**
89
+ * @param string $plugin
90
+ * @return string
91
+ */
92
+ public static function getNotices($plugin = '') {
93
+ $output = '';
94
+ switch ($plugin) {
95
+ case 'wordpress' :
96
+ if (self::isPluginEnabled('jetpack/jetpack.php')) {
97
+ $activeModules = (array)get_option('jetpack_active_modules');
98
+ if (in_array('comments', $activeModules)) {
99
+ $output .= sprintf(
100
+ '<strong>%s:</strong> %s',
101
+ strtoupper(__('Note', WP_GDPR_C_SLUG)),
102
+ __('Please disable the custom comments form in Jetpack to make your WordPress Comments GDPR compliant.', WP_GDPR_C_SLUG)
103
+ );
104
+ }
105
+ }
106
+ break;
107
+ }
108
+ return $output;
109
+ }
110
+
111
  /**
112
  * @return float|int
113
  */
148
  );
149
  }
150
 
151
+ /**
152
+ * @param string $plugin
153
+ * @return bool
154
+ */
155
+ public static function isPluginEnabled($plugin = '') {
156
+ $activatePlugins = (array)self::getActivePlugins();
157
+ return (in_array($plugin, $activatePlugins));
158
+ }
159
+
160
  /**
161
  * @param string $plugin
162
  * @param string $type
169
  /**
170
  * @return array
171
  */
172
+ public static function getActivePlugins() {
 
 
173
  $activePlugins = (array)get_option('active_plugins', array());
 
174
  // Catch network activated plugins
175
  $activeNetworkPlugins = (array)get_site_option('active_sitewide_plugins', array());
176
  if (!empty($activeNetworkPlugins)) {
180
  }
181
  }
182
  }
183
+ return $activePlugins;
184
+ }
185
 
186
+ /**
187
+ * @return array
188
+ */
189
+ public static function getActivatedPlugins() {
190
+ $output = array();
191
+ $activePlugins = self::getActivePlugins();
192
  // Loop through supported plugins
193
  foreach (Integrations::getSupportedPlugins() as $plugin) {
194
  if (in_array($plugin['file'], $activePlugins)) {
269
  $date = new \DateTime($date->format('Y-m-d H:i:s'), new \DateTimeZone('UTC'));
270
  return date_i18n($format, $date->getTimestamp(), true);
271
  }
272
+
273
+ /**
274
+ * @return null|Helpers
275
+ */
276
+ public static function getInstance() {
277
+ if (!isset(self::$instance)) {
278
+ self::$instance = new self();
279
+ }
280
+ return self::$instance;
281
+ }
282
  }
Includes/Integrations.php CHANGED
@@ -15,16 +15,6 @@ class Integrations {
15
  /** @var null */
16
  private static $instance = null;
17
 
18
- /**
19
- * @return null|Integrations
20
- */
21
- public static function getInstance() {
22
- if (!isset(self::$instance)) {
23
- self::$instance = new self();
24
- }
25
- return self::$instance;
26
- }
27
-
28
  /**
29
  * Integrations constructor.
30
  */
@@ -326,4 +316,14 @@ class Integrations {
326
  }
327
  return $output;
328
  }
 
 
 
 
 
 
 
 
 
 
329
  }
15
  /** @var null */
16
  private static $instance = null;
17
 
 
 
 
 
 
 
 
 
 
 
18
  /**
19
  * Integrations constructor.
20
  */
316
  }
317
  return $output;
318
  }
319
+
320
+ /**
321
+ * @return null|Integrations
322
+ */
323
+ public static function getInstance() {
324
+ if (!isset(self::$instance)) {
325
+ self::$instance = new self();
326
+ }
327
+ return self::$instance;
328
+ }
329
  }
Includes/Pages.php CHANGED
@@ -10,16 +10,6 @@ class Pages {
10
  /** @var null */
11
  private static $instance = null;
12
 
13
- /**
14
- * @return null|Pages
15
- */
16
- public static function getInstance() {
17
- if (!isset(self::$instance)) {
18
- self::$instance = new self();
19
- }
20
- return self::$instance;
21
- }
22
-
23
  public function registerSettings() {
24
  foreach (Helpers::getCheckList() as $id => $check) {
25
  register_setting(WP_GDPR_C_SLUG, WP_GDPR_C_PREFIX . '_general_' . $id, 'intval');
@@ -74,34 +64,44 @@ class Pages {
74
  $optionName = WP_GDPR_C_PREFIX . '_integrations_' . $plugin['id'];
75
  $checked = Helpers::isEnabled($plugin['id']);
76
  $description = (!empty($plugin['description'])) ? apply_filters('the_content', $plugin['description']) : '';
 
77
  $options = Integrations::getSupportedPluginOptions($plugin['id']);
78
  ?>
79
  <li class="wpgdprc-clearfix">
80
  <?php if ($plugin['supported']) : ?>
81
- <div class="wpgdprc-checkbox">
82
- <input type="checkbox" name="<?php echo $optionName; ?>" id="<?php echo $optionName; ?>" value="1" tabindex="1" data-type="save_setting" data-option="<?php echo $optionName; ?>" <?php checked(true, $checked); ?> />
83
- <label for="<?php echo $optionName; ?>"><?php echo $plugin['name']; ?></label>
84
- <span class="wpgdprc-instructions"><?php _e('Enable:', WP_GDPR_C_SLUG); ?></span>
85
- <div class="wpgdprc-switch" aria-hidden="true">
86
- <div class="wpgdprc-switch-label">
87
- <div class="wpgdprc-switch-inner"></div>
88
- <div class="wpgdprc-switch-switch"></div>
 
 
89
  </div>
90
  </div>
91
- </div>
92
 
93
- <div class="wpgdprc-checkbox-data" <?php if (!$checked) : ?>style="display: none;"<?php endif; ?>>
94
- <?php if (!empty($description)) : ?>
95
- <div class="wpgdprc-checklist-description">
96
- <?php echo $description; ?>
 
 
 
 
 
 
 
 
 
97
  </div>
98
- <?php endif; ?>
99
- <?php echo $options; ?>
100
- </div>
101
  <?php else : ?>
102
- <div class="wpgdprc-checkbox wpgdrc-checkbox--error">
103
  <strong><?php echo $plugin['name']; ?></strong>
104
- <div class="wpgdprc-checklist-description">
105
  <?php printf(__('This plugin is outdated. %s supports version %s and up.', WP_GDPR_C_SLUG), $pluginData['Name'], '<strong>' . $plugin['supported_version'] . '</strong>'); ?>
106
  </div>
107
  </div>
@@ -200,4 +200,14 @@ class Pages {
200
  </div>
201
  <?php
202
  }
 
 
 
 
 
 
 
 
 
 
203
  }
10
  /** @var null */
11
  private static $instance = null;
12
 
 
 
 
 
 
 
 
 
 
 
13
  public function registerSettings() {
14
  foreach (Helpers::getCheckList() as $id => $check) {
15
  register_setting(WP_GDPR_C_SLUG, WP_GDPR_C_PREFIX . '_general_' . $id, 'intval');
64
  $optionName = WP_GDPR_C_PREFIX . '_integrations_' . $plugin['id'];
65
  $checked = Helpers::isEnabled($plugin['id']);
66
  $description = (!empty($plugin['description'])) ? apply_filters('the_content', $plugin['description']) : '';
67
+ $notices = Helpers::getNotices($plugin['id']);
68
  $options = Integrations::getSupportedPluginOptions($plugin['id']);
69
  ?>
70
  <li class="wpgdprc-clearfix">
71
  <?php if ($plugin['supported']) : ?>
72
+ <?php if (empty($notices)) : ?>
73
+ <div class="wpgdprc-checkbox">
74
+ <input type="checkbox" name="<?php echo $optionName; ?>" id="<?php echo $optionName; ?>" value="1" tabindex="1" data-type="save_setting" data-option="<?php echo $optionName; ?>" <?php checked(true, $checked); ?> />
75
+ <label for="<?php echo $optionName; ?>"><?php echo $plugin['name']; ?></label>
76
+ <span class="wpgdprc-instructions"><?php _e('Enable:', WP_GDPR_C_SLUG); ?></span>
77
+ <div class="wpgdprc-switch" aria-hidden="true">
78
+ <div class="wpgdprc-switch-label">
79
+ <div class="wpgdprc-switch-inner"></div>
80
+ <div class="wpgdprc-switch-switch"></div>
81
+ </div>
82
  </div>
83
  </div>
 
84
 
85
+ <div class="wpgdprc-checkbox-data" <?php if (!$checked) : ?>style="display: none;"<?php endif; ?>>
86
+ <?php if (!empty($description)) : ?>
87
+ <div class="wpgdprc-checklist-description">
88
+ <?php echo $description; ?>
89
+ </div>
90
+ <?php endif; ?>
91
+ <?php echo $options; ?>
92
+ </div>
93
+ <?php else : ?>
94
+ <div class="wpgdrc-message wpgdrc-message--notice">
95
+ <strong><?php echo $plugin['name']; ?></strong>
96
+ <div class="wpgdprc__message">
97
+ <?php echo $notices; ?>
98
  </div>
99
+ </div>
100
+ <?php endif; ?>
 
101
  <?php else : ?>
102
+ <div class="wpgdrc-message wpgdrc-message--error">
103
  <strong><?php echo $plugin['name']; ?></strong>
104
+ <div class="wpgdprc__message">
105
  <?php printf(__('This plugin is outdated. %s supports version %s and up.', WP_GDPR_C_SLUG), $pluginData['Name'], '<strong>' . $plugin['supported_version'] . '</strong>'); ?>
106
  </div>
107
  </div>
200
  </div>
201
  <?php
202
  }
203
+
204
+ /**
205
+ * @return null|Pages
206
+ */
207
+ public static function getInstance() {
208
+ if (!isset(self::$instance)) {
209
+ self::$instance = new self();
210
+ }
211
+ return self::$instance;
212
+ }
213
  }
assets/css/admin.css CHANGED
@@ -71,6 +71,29 @@ div.wpgdprc-allowed-tags {
71
  color: #8A8A8A;
72
  }
73
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
74
  .wpgdprc p.submit .button.button-primary {
75
  vertical-align: top;
76
  height: 34px;
@@ -202,16 +225,6 @@ p.wpgdprc-disclaimer {
202
  position: relative;
203
  }
204
 
205
- .wpgdrc-checkbox--error {
206
- padding: 10px;
207
- background: #F7E4E1;
208
- border: 1px solid #CC4B37;
209
- }
210
-
211
- .wpgdrc-checkbox--error .wpgdprc-checklist-description {
212
- color: #CC4B37;
213
- }
214
-
215
  .wpgdprc-checkbox input[type="checkbox"] {
216
  display: none;
217
  }
@@ -337,6 +350,10 @@ span.wpgdprc-instructions {
337
  color: #8A8A8A;
338
  }
339
 
 
 
 
 
340
  .wpgdprc-checklist-options {
341
  margin-top: 10px;
342
  }
71
  color: #8A8A8A;
72
  }
73
 
74
+ div.wpgdrc-message {
75
+ padding: 10px;
76
+ border: 1px solid transparent;
77
+ }
78
+
79
+ div.wpgdrc-message--notice {
80
+ background: #FFF3D9;
81
+ border-color: #e7d996;
82
+ }
83
+
84
+ div.wpgdrc-message--notice .wpgdprc__message {
85
+ color: #b39f3d;
86
+ }
87
+
88
+ div.wpgdrc-message--error {
89
+ background: #F7E4E1;
90
+ border-color: #CC4B37;
91
+ }
92
+
93
+ div.wpgdrc-message--error .wpgdprc__message {
94
+ color: #CC4B37;
95
+ }
96
+
97
  .wpgdprc p.submit .button.button-primary {
98
  vertical-align: top;
99
  height: 34px;
225
  position: relative;
226
  }
227
 
 
 
 
 
 
 
 
 
 
 
228
  .wpgdprc-checkbox input[type="checkbox"] {
229
  display: none;
230
  }
350
  color: #8A8A8A;
351
  }
352
 
353
+ .wpgdprc-checklist-description + .wpgdrc-message {
354
+ margin-top: 10px;
355
+ }
356
+
357
  .wpgdprc-checklist-options {
358
  margin-top: 10px;
359
  }
languages/wp-gdpr-compliance.pot CHANGED
@@ -1,36 +1,36 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WP GDPR Compliance\n"
4
- "POT-Creation-Date: 2018-03-29 11:59+0200\n"
5
  "Last-Translator: \n"
6
  "Language-Team: Van Ons <info@van-ons.nl>\n"
7
  "MIME-Version: 1.0\n"
8
  "Content-Type: text/plain; charset=UTF-8\n"
9
  "Content-Transfer-Encoding: 8bit\n"
10
 
11
- #: Includes/Ajax.php:37
12
  msgid "Missing data."
13
  msgstr ""
14
 
15
- #: Includes/Ajax.php:41
16
  msgid "Missing type."
17
  msgstr ""
18
 
19
- #: Includes/Ajax.php:53
20
  msgid "Missing option name."
21
  msgstr ""
22
 
23
- #: Includes/Ajax.php:57
24
  msgid "Missing value."
25
  msgstr ""
26
 
27
- #: Includes/Extensions/CF7.php:189 Includes/Extensions/GForms.php:111
28
  #: Includes/Extensions/GForms.php:127 Includes/Extensions/GForms.php:146
29
  #: Includes/Extensions/WC.php:55 Includes/Extensions/WP.php:65
30
  msgid "Not accepted."
31
  msgstr ""
32
 
33
- #: Includes/Extensions/CF7.php:193 Includes/Extensions/WC.php:53
34
  msgid "GDPR accepted on:"
35
  msgstr ""
36
 
@@ -56,24 +56,30 @@ msgstr ""
56
  msgid "GDPR Accepted On"
57
  msgstr ""
58
 
59
- #: Includes/Helpers.php:83
60
  #, php-format
61
  msgid "You can use: %s"
62
  msgstr ""
63
 
64
- #: Includes/Helpers.php:89
65
  msgid "Note"
66
  msgstr ""
67
 
68
- #: Includes/Helpers.php:90
69
  msgid "No HTML allowed due to plugin limitations."
70
  msgstr ""
71
 
72
- #: Includes/Helpers.php:115
 
 
 
 
 
 
73
  msgid "Do you have a contact form?"
74
  msgstr ""
75
 
76
- #: Includes/Helpers.php:116
77
  msgid ""
78
  "Make sure you add a checkbox specifically asking the user of the form if "
79
  "they consent to you storing and using their personal information to get back "
@@ -81,11 +87,11 @@ msgid ""
81
  "if you will send or share the data with any 3rd-parties and which."
82
  msgstr ""
83
 
84
- #: Includes/Helpers.php:119
85
  msgid "Can visitors comment anywhere on your website?"
86
  msgstr ""
87
 
88
- #: Includes/Helpers.php:120
89
  msgid ""
90
  "Make sure you add a checkbox specifically asking the user of the comment "
91
  "section if they consent to storing their message attached to the e-mail "
@@ -94,11 +100,11 @@ msgid ""
94
  "which."
95
  msgstr ""
96
 
97
- #: Includes/Helpers.php:123
98
  msgid "Is there an order form on your website or webshop present?"
99
  msgstr ""
100
 
101
- #: Includes/Helpers.php:124
102
  msgid ""
103
  "Make sure you add a checkbox specifically asking the user of the form if "
104
  "they consent to you storing and using their personal information to ship the "
@@ -108,11 +114,11 @@ msgid ""
108
  "which."
109
  msgstr ""
110
 
111
- #: Includes/Helpers.php:127
112
  msgid "Do you provide a forum or message board?"
113
  msgstr ""
114
 
115
- #: Includes/Helpers.php:128
116
  msgid ""
117
  "Make sure you add a checkbox specifically asking forum / board users if they "
118
  "consent to you storing and using their personal information and messages. "
@@ -120,11 +126,11 @@ msgid ""
120
  "share the data with any 3rd-parties and which."
121
  msgstr ""
122
 
123
- #: Includes/Helpers.php:131
124
  msgid "Can visitors chat with your company directly?"
125
  msgstr ""
126
 
127
- #: Includes/Helpers.php:132
128
  msgid ""
129
  "Make sure you add a checkbox specifically asking chat users if they consent "
130
  "to you storing and using their personal information and messages. The "
@@ -133,84 +139,88 @@ msgid ""
133
  "mention if you will send or share the data with any 3rd-parties and which."
134
  msgstr ""
135
 
136
- #: Includes/Integrations.php:121 Includes/Integrations.php:158
137
  #, php-format
138
  msgid "Form: %s"
139
  msgstr ""
140
 
141
- #: Includes/Integrations.php:122 Includes/Integrations.php:159
142
  msgid "Activate for this form:"
143
  msgstr ""
144
 
145
- #: Includes/Integrations.php:125 Includes/Integrations.php:162
146
- #: Includes/Integrations.php:185
147
  msgid "Checkbox text"
148
  msgstr ""
149
 
150
- #: Includes/Integrations.php:129 Includes/Integrations.php:166
151
- #: Includes/Integrations.php:189
152
  msgid "Error message"
153
  msgstr ""
154
 
155
- #: Includes/Integrations.php:137 Includes/Integrations.php:174
156
  msgid "No forms found."
157
  msgstr ""
158
 
159
- #: Includes/Integrations.php:213
160
  msgid ""
161
  "By using this form you agree with the storage and handling of your data by "
162
  "this website."
163
  msgstr ""
164
 
165
- #: Includes/Integrations.php:230
166
  msgid "Please accept the privacy checkbox."
167
  msgstr ""
168
 
169
- #: Includes/Integrations.php:265
170
- msgid "WordPress Comments"
171
  msgstr ""
172
 
173
  #: Includes/Integrations.php:266
 
 
 
 
174
  msgid ""
175
  "When activated the GDPR checkbox will be added automatically just above the "
176
  "submit button."
177
  msgstr ""
178
 
179
- #: Includes/Integrations.php:280
180
  msgid "Contact Form 7"
181
  msgstr ""
182
 
183
- #: Includes/Integrations.php:281 Includes/Integrations.php:288
184
  msgid "A GDPR form tag will be automatically added to every form you activate."
185
  msgstr ""
186
 
187
- #: Includes/Integrations.php:287
188
  msgid "Gravity Forms"
189
  msgstr ""
190
 
191
- #: Includes/Integrations.php:294
192
  msgid "WooCommerce"
193
  msgstr ""
194
 
195
- #: Includes/Integrations.php:295
196
  msgid ""
197
  "The GDPR checkbox will be added automatically at the end of your checkout "
198
  "page."
199
  msgstr ""
200
 
201
- #: Includes/Pages.php:63
202
  msgid "Integrations"
203
  msgstr ""
204
 
205
- #: Includes/Pages.php:64
206
  msgid "Checklist"
207
  msgstr ""
208
 
209
- #: Includes/Pages.php:65 wp-gdpr-compliance.php:97
210
  msgid "Settings"
211
  msgstr ""
212
 
213
- #: Includes/Pages.php:84
214
  msgid "Enable:"
215
  msgstr ""
216
 
@@ -243,10 +253,6 @@ msgid ""
243
  "GDPR checkbox texts."
244
  msgstr ""
245
 
246
- #: Includes/Integrations.php:241 Includes/Pages.php:162
247
- msgid "Privacy Policy"
248
- msgstr ""
249
-
250
  #: Includes/Pages.php:165
251
  msgid "Select an option"
252
  msgstr ""
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WP GDPR Compliance\n"
4
+ "POT-Creation-Date: 2018-04-03 12:00+0200\n"
5
  "Last-Translator: \n"
6
  "Language-Team: Van Ons <info@van-ons.nl>\n"
7
  "MIME-Version: 1.0\n"
8
  "Content-Type: text/plain; charset=UTF-8\n"
9
  "Content-Transfer-Encoding: 8bit\n"
10
 
11
+ #: Includes/Ajax.php:27
12
  msgid "Missing data."
13
  msgstr ""
14
 
15
+ #: Includes/Ajax.php:31
16
  msgid "Missing type."
17
  msgstr ""
18
 
19
+ #: Includes/Ajax.php:43
20
  msgid "Missing option name."
21
  msgstr ""
22
 
23
+ #: Includes/Ajax.php:47
24
  msgid "Missing value."
25
  msgstr ""
26
 
27
+ #: Includes/Extensions/CF7.php:184 Includes/Extensions/GForms.php:111
28
  #: Includes/Extensions/GForms.php:127 Includes/Extensions/GForms.php:146
29
  #: Includes/Extensions/WC.php:55 Includes/Extensions/WP.php:65
30
  msgid "Not accepted."
31
  msgstr ""
32
 
33
+ #: Includes/Extensions/CF7.php:188 Includes/Extensions/WC.php:53
34
  msgid "GDPR accepted on:"
35
  msgstr ""
36
 
56
  msgid "GDPR Accepted On"
57
  msgstr ""
58
 
59
+ #: Includes/Helpers.php:74
60
  #, php-format
61
  msgid "You can use: %s"
62
  msgstr ""
63
 
64
+ #: Includes/Helpers.php:80 Includes/Helpers.php:101
65
  msgid "Note"
66
  msgstr ""
67
 
68
+ #: Includes/Helpers.php:81
69
  msgid "No HTML allowed due to plugin limitations."
70
  msgstr ""
71
 
72
+ #: Includes/Helpers.php:102
73
+ msgid ""
74
+ "Please disable the custom comments form in Jetpack to make your WordPress "
75
+ "Comments GDPR compliant."
76
+ msgstr ""
77
+
78
+ #: Includes/Helpers.php:129
79
  msgid "Do you have a contact form?"
80
  msgstr ""
81
 
82
+ #: Includes/Helpers.php:130
83
  msgid ""
84
  "Make sure you add a checkbox specifically asking the user of the form if "
85
  "they consent to you storing and using their personal information to get back "
87
  "if you will send or share the data with any 3rd-parties and which."
88
  msgstr ""
89
 
90
+ #: Includes/Helpers.php:133
91
  msgid "Can visitors comment anywhere on your website?"
92
  msgstr ""
93
 
94
+ #: Includes/Helpers.php:134
95
  msgid ""
96
  "Make sure you add a checkbox specifically asking the user of the comment "
97
  "section if they consent to storing their message attached to the e-mail "
100
  "which."
101
  msgstr ""
102
 
103
+ #: Includes/Helpers.php:137
104
  msgid "Is there an order form on your website or webshop present?"
105
  msgstr ""
106
 
107
+ #: Includes/Helpers.php:138
108
  msgid ""
109
  "Make sure you add a checkbox specifically asking the user of the form if "
110
  "they consent to you storing and using their personal information to ship the "
114
  "which."
115
  msgstr ""
116
 
117
+ #: Includes/Helpers.php:141
118
  msgid "Do you provide a forum or message board?"
119
  msgstr ""
120
 
121
+ #: Includes/Helpers.php:142
122
  msgid ""
123
  "Make sure you add a checkbox specifically asking forum / board users if they "
124
  "consent to you storing and using their personal information and messages. "
126
  "share the data with any 3rd-parties and which."
127
  msgstr ""
128
 
129
+ #: Includes/Helpers.php:145
130
  msgid "Can visitors chat with your company directly?"
131
  msgstr ""
132
 
133
+ #: Includes/Helpers.php:146
134
  msgid ""
135
  "Make sure you add a checkbox specifically asking chat users if they consent "
136
  "to you storing and using their personal information and messages. The "
139
  "mention if you will send or share the data with any 3rd-parties and which."
140
  msgstr ""
141
 
142
+ #: Includes/Integrations.php:111 Includes/Integrations.php:148
143
  #, php-format
144
  msgid "Form: %s"
145
  msgstr ""
146
 
147
+ #: Includes/Integrations.php:112 Includes/Integrations.php:149
148
  msgid "Activate for this form:"
149
  msgstr ""
150
 
151
+ #: Includes/Integrations.php:115 Includes/Integrations.php:152
152
+ #: Includes/Integrations.php:175
153
  msgid "Checkbox text"
154
  msgstr ""
155
 
156
+ #: Includes/Integrations.php:119 Includes/Integrations.php:156
157
+ #: Includes/Integrations.php:179
158
  msgid "Error message"
159
  msgstr ""
160
 
161
+ #: Includes/Integrations.php:127 Includes/Integrations.php:164
162
  msgid "No forms found."
163
  msgstr ""
164
 
165
+ #: Includes/Integrations.php:203
166
  msgid ""
167
  "By using this form you agree with the storage and handling of your data by "
168
  "this website."
169
  msgstr ""
170
 
171
+ #: Includes/Integrations.php:220
172
  msgid "Please accept the privacy checkbox."
173
  msgstr ""
174
 
175
+ #: Includes/Integrations.php:231 Includes/Pages.php:162
176
+ msgid "Privacy Policy"
177
  msgstr ""
178
 
179
  #: Includes/Integrations.php:266
180
+ msgid "WordPress Comments"
181
+ msgstr ""
182
+
183
+ #: Includes/Integrations.php:267
184
  msgid ""
185
  "When activated the GDPR checkbox will be added automatically just above the "
186
  "submit button."
187
  msgstr ""
188
 
189
+ #: Includes/Integrations.php:281
190
  msgid "Contact Form 7"
191
  msgstr ""
192
 
193
+ #: Includes/Integrations.php:282 Includes/Integrations.php:289
194
  msgid "A GDPR form tag will be automatically added to every form you activate."
195
  msgstr ""
196
 
197
+ #: Includes/Integrations.php:288
198
  msgid "Gravity Forms"
199
  msgstr ""
200
 
201
+ #: Includes/Integrations.php:295
202
  msgid "WooCommerce"
203
  msgstr ""
204
 
205
+ #: Includes/Integrations.php:296
206
  msgid ""
207
  "The GDPR checkbox will be added automatically at the end of your checkout "
208
  "page."
209
  msgstr ""
210
 
211
+ #: Includes/Pages.php:53
212
  msgid "Integrations"
213
  msgstr ""
214
 
215
+ #: Includes/Pages.php:54
216
  msgid "Checklist"
217
  msgstr ""
218
 
219
+ #: Includes/Pages.php:55 wp-gdpr-compliance.php:97
220
  msgid "Settings"
221
  msgstr ""
222
 
223
+ #: Includes/Pages.php:76
224
  msgid "Enable:"
225
  msgstr ""
226
 
253
  "GDPR checkbox texts."
254
  msgstr ""
255
 
 
 
 
 
256
  #: Includes/Pages.php:165
257
  msgid "Select an option"
258
  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.2.4
7
- Stable tag: 1.2.3
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -37,6 +37,11 @@ You'll find answers to many of your questions on [wpgdprc.com](https://www.wpgdp
37
 
38
  == Changelog ==
39
 
 
 
 
 
 
40
  = 1.2.3 =
41
  *Release date: March 29th, 2018*
42
  * Storage of explicit consent timestamp
4
  Requires at least: 4.5
5
  Tested up to: 4.9.4
6
  Requires PHP: 5.2.4
7
+ Stable tag: 1.2.4
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
 
37
 
38
  == Changelog ==
39
 
40
+ = 1.2.4 =
41
+ *Release date: April 3rd, 2018*
42
+ * Show a notice when Jetpack is installed
43
+ * Fixed a bug with WordPress Comments
44
+
45
  = 1.2.3 =
46
  *Release date: March 29th, 2018*
47
  * Storage of explicit consent timestamp
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.2.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.2.4
8
  Author: Van Ons
9
  Author URI: https://www.van-ons.nl/
10
  License: GPL2