WP GDPR Compliance - Version 1.3.3

Version Description

Release date: May 14th, 2018 * Fixed a bug that caused anonymise request mails to fail. * Added missing translatable strings.

Download this release

Release Info

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

Code changes from version 1.3.2 to 1.3.3

Includes/Data.php CHANGED
@@ -171,8 +171,11 @@ class Data {
171
  $output .= '</tbody>';
172
  $output .= '</table>';
173
  $output .= sprintf(
174
- '<p><input type="submit" class="wpgdprc-remove" value="Anonymise selected %s(s)" /></p>',
175
- str_replace('_', ' ', $type)
 
 
 
176
  );
177
  $output .= '</form>';
178
  }
171
  $output .= '</tbody>';
172
  $output .= '</table>';
173
  $output .= sprintf(
174
+ '<p><input type="submit" class="wpgdprc-remove" value="%s" /></p>',
175
+ sprintf(
176
+ __('Anonymise selected %s(s)', WP_GDPR_C_SLUG),
177
+ str_replace('_', ' ', $type)
178
+ )
179
  );
180
  $output .= '</form>';
181
  }
Includes/Helper.php CHANGED
@@ -396,7 +396,7 @@ class Helper {
396
  public static function getSiteData($type = '', $siteId = 0) {
397
  $output = '';
398
  if (!empty($type)) {
399
- $output = (!empty($siteId)) ? get_blog_option($siteId, $type) : get_option($type);
400
  }
401
  return $output;
402
  }
396
  public static function getSiteData($type = '', $siteId = 0) {
397
  $output = '';
398
  if (!empty($type)) {
399
+ $output = (!empty($siteId) && is_multisite()) ? get_blog_option($siteId, $type) : get_option($type);
400
  }
401
  return $output;
402
  }
Includes/Page.php CHANGED
@@ -56,7 +56,7 @@ class Page {
56
  <div class="wrap">
57
  <div class="wpgdprc">
58
  <div class="wpgdprc-contents">
59
- <h1 class="wpgdprc-title"><?php echo $pluginData['Name']; ?> <?php printf('v%s', $pluginData['Version']); ?></h1>
60
 
61
  <?php settings_errors(); ?>
62
 
56
  <div class="wrap">
57
  <div class="wpgdprc">
58
  <div class="wpgdprc-contents">
59
+ <h1 class="wpgdprc-title"><?php echo $pluginData['Name']; ?> <span><?php printf('v%s', $pluginData['Version']); ?></span></h1>
60
 
61
  <?php settings_errors(); ?>
62
 
assets/css/admin.css CHANGED
@@ -176,6 +176,12 @@ h1.wpgdprc-title {
176
  font-size: 36px;
177
  }
178
 
 
 
 
 
 
 
179
  div.wpgdprc-description {
180
  margin-top: 20px;
181
  padding: 20px;
@@ -205,6 +211,10 @@ table.wpgdprc-table {
205
 
206
  table.wpgdprc-table th, table.wpgdprc-table td {
207
  padding: 5px;
 
 
 
 
208
  }
209
 
210
  table.wpgdprc-table th {
176
  font-size: 36px;
177
  }
178
 
179
+ h1.wpgdprc-title span {
180
+ font-weight: 400;
181
+ font-size: 18px;
182
+ color: #8A8A8A;
183
+ }
184
+
185
  div.wpgdprc-description {
186
  margin-top: 20px;
187
  padding: 20px;
211
 
212
  table.wpgdprc-table th, table.wpgdprc-table td {
213
  padding: 5px;
214
+ word-break: break-word;
215
+ -webkit-hyphens: auto;
216
+ -ms-hyphens: auto;
217
+ hyphens: auto;
218
  }
219
 
220
  table.wpgdprc-table th {
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-11 13:34+0200\n"
6
  "Last-Translator: \n"
7
  "Language-Team: Van Ons <info@van-ons.nl>\n"
8
  "MIME-Version: 1.0\n"
@@ -254,6 +254,11 @@ msgstr ""
254
  msgid "City"
255
  msgstr ""
256
 
 
 
 
 
 
257
  #: Includes/DeleteRequest.php:218
258
  msgid "User"
259
  msgstr ""
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: WP GDPR Compliance\n"
5
+ "POT-Creation-Date: 2018-05-14 14:17+0200\n"
6
  "Last-Translator: \n"
7
  "Language-Team: Van Ons <info@van-ons.nl>\n"
8
  "MIME-Version: 1.0\n"
254
  msgid "City"
255
  msgstr ""
256
 
257
+ #: Includes/Data.php:176
258
+ #, php-format
259
+ msgid "Anonymise selected %s(s)"
260
+ msgstr ""
261
+
262
  #: Includes/DeleteRequest.php:218
263
  msgid "User"
264
  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.2
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -38,6 +38,11 @@ You'll find answers to many of your questions on [wpgdprc.com](https://www.wpgdp
38
 
39
  == Changelog ==
40
 
 
 
 
 
 
41
  = 1.3.2 =
42
  *Release date: May 11th, 2018*
43
  * Added translatable 'Yes' and 'No' strings.
4
  Requires at least: 4.5
5
  Tested up to: 4.9.4
6
  Requires PHP: 5.3
7
+ Stable tag: 1.3.3
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.3 =
42
+ *Release date: May 14th, 2018*
43
+ * Fixed a bug that caused anonymise request mails to fail.
44
+ * Added missing translatable strings.
45
+
46
  = 1.3.2 =
47
  *Release date: May 11th, 2018*
48
  * Added translatable 'Yes' and 'No' strings.
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.2
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.3
8
  Author: Van Ons
9
  Author URI: https://www.van-ons.nl/
10
  License: GPL2