The GDPR Framework By Data443 - Version 1.0.1

Version Description

Download this release

Release Info

Developer indrek_k
Plugin Icon 128x128 The GDPR Framework By Data443
Version 1.0.1
Comparing to
See all releases

Code changes from version 1.0.0 to 1.0.1

gdpr-framework.php CHANGED
@@ -3,8 +3,8 @@
3
  /**
4
  * Plugin Name: The GDPR Framework
5
  * Plugin URI: https://codelight.eu/wordpress-gdpr-framework/
6
- * Description: The GDPR Framework
7
- * Version: 1.0.0
8
  * Author: Codelight
9
  * Author URI: https://codelight.eu/
10
  * Text Domain: gdpr
3
  /**
4
  * Plugin Name: The GDPR Framework
5
  * Plugin URI: https://codelight.eu/wordpress-gdpr-framework/
6
+ * Description: The easiest way to make your website GDPR-compliant. Fully documented, extendable and developer-friendly.
7
+ * Version: 1.0.1
8
  * Author: Codelight
9
  * Author URI: https://codelight.eu/
10
  * Text Domain: gdpr
readme.txt CHANGED
@@ -1,10 +1,11 @@
1
- 
2
  === The GDPR Framework ===
3
  Contributors: codelight
4
  Tags: gdpr
5
- Requires at least: 4.3
6
  Tested up to: 4.9.4
7
  Requires PHP: 5.6.33
 
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
10
 
@@ -18,13 +19,14 @@ GDPR is a whopping 88 pages of legal text. Becoming compliant takes a lot more t
18
 
19
  You don't need to drown your customers in pointless acceptance checkboxes if you know what you're doing!
20
 
 
 
 
21
  ### Documentation
22
  Full documentation: [The WordPress Site Owner's Guide to GDPR](https://codelight.eu/wordpress-gdpr-framework/wordpress-site-owners-guide-to-gdpr/)
23
  For developers: [Developer Docs](https://codelight.eu/wordpress-gdpr-framework/developer-docs/)
24
 
25
  ### Features
26
- The GDPR Framework covers all the base requirements for making your WordPress site GDPR-compliant.
27
-
28
  ☑ Allow both users and visitors without an account to view, export and delete their personal data;
29
  ☑ Configure the plugin to delete or anonymize personal data automatically or send a notification and allow admins to do it manually;
30
  ☑ Track, manage and withdraw consent;
@@ -40,19 +42,18 @@ The GDPR Framework currently works with the following plugins
40
  ☑ Contact Form 7
41
  ☑ WPML
42
 
43
- Coming in April 2018:
44
- ☐ Gravity Forms (Release: 17.04)
45
- ☐ WooCommerce (Release: 19.04)
46
- ☐ Easy Digital Downloads (Release: 23.04)
47
- ☐ Ninja Forms (Release: 25.04)
48
-
49
- Coming soon:
50
- ☐ other form builders
51
- ☐ Contact Form 7 Flamingo
52
- ☐ WP Migrate DB
53
- ☐ WP Rocket
54
 
 
55
 
56
- All free and open-source.
 
 
 
 
57
 
58
  We're happy to add support for other major plugins as well. If you have a request, get in touch!
1
+
2
  === The GDPR Framework ===
3
  Contributors: codelight
4
  Tags: gdpr
5
+ Requires at least: 4.7
6
  Tested up to: 4.9.4
7
  Requires PHP: 5.6.33
8
+ Stable tag: 1.0.1
9
  License: GPLv3
10
  License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
11
 
19
 
20
  You don't need to drown your customers in pointless acceptance checkboxes if you know what you're doing!
21
 
22
+ ## Disclaimer
23
+ Using The GDPR Framework does NOT guarantee compliance to GDPR. This plugin gives you general information and tools, but is NOT meant to serve as complete compliance package. Compliance to GDPR is risk-based ongoing process that involves your whole business. Codelight is not eligible for any claim or action based on any information or functionality provided by this plugin.
24
+
25
  ### Documentation
26
  Full documentation: [The WordPress Site Owner's Guide to GDPR](https://codelight.eu/wordpress-gdpr-framework/wordpress-site-owners-guide-to-gdpr/)
27
  For developers: [Developer Docs](https://codelight.eu/wordpress-gdpr-framework/developer-docs/)
28
 
29
  ### Features
 
 
30
  ☑ Allow both users and visitors without an account to view, export and delete their personal data;
31
  ☑ Configure the plugin to delete or anonymize personal data automatically or send a notification and allow admins to do it manually;
32
  ☑ Track, manage and withdraw consent;
42
  ☑ Contact Form 7
43
  ☑ WPML
44
 
45
+ Coming in April 2018:
46
+ ☐ Gravity Forms (Release: 17.04)
47
+ ☐ Ninja Forms (Release: 25.04)
48
+ ☐ Contact Form 7 Flamingo
49
+ ☐ WP Rocket
 
 
 
 
 
 
50
 
51
+ Still free and open-source.
52
 
53
+ Other integrations coming soon:
54
+ ☐ Formidable Form Builder
55
+ ☐ WP Migrate DB
56
+ ☐ WooCommerce (postponed until the launch of their own compliance toolkit)
57
+ ☐ Easy Digital Downloads
58
 
59
  We're happy to add support for other major plugins as well. If you have a request, get in touch!
src/Components/PrivacyToolsPage/PrivacyToolsPageController.php CHANGED
@@ -183,6 +183,7 @@ class PrivacyToolsPageController
183
  {
184
  // Let's not allow admins to delete themselves
185
  if (current_user_can('manage_options')) {
 
186
  return;
187
  }
188
 
183
  {
184
  // Let's not allow admins to delete themselves
185
  if (current_user_can('manage_options')) {
186
+ echo gdpr('view')->render("privacy-tools/notice-admin-role");
187
  return;
188
  }
189
 
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit96f7d562f9c6dd12a2fa032fa886e6b0::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit9f3572d4c44534633256010eb339e06e::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit96f7d562f9c6dd12a2fa032fa886e6b0
6
  {
7
  private static $loader;
8
 
@@ -19,15 +19,15 @@ class ComposerAutoloaderInit96f7d562f9c6dd12a2fa032fa886e6b0
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit96f7d562f9c6dd12a2fa032fa886e6b0', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit96f7d562f9c6dd12a2fa032fa886e6b0', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
- call_user_func(\Composer\Autoload\ComposerStaticInit96f7d562f9c6dd12a2fa032fa886e6b0::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
@@ -48,19 +48,19 @@ class ComposerAutoloaderInit96f7d562f9c6dd12a2fa032fa886e6b0
48
  $loader->register(true);
49
 
50
  if ($useStaticLoader) {
51
- $includeFiles = Composer\Autoload\ComposerStaticInit96f7d562f9c6dd12a2fa032fa886e6b0::$files;
52
  } else {
53
  $includeFiles = require __DIR__ . '/autoload_files.php';
54
  }
55
  foreach ($includeFiles as $fileIdentifier => $file) {
56
- composerRequire96f7d562f9c6dd12a2fa032fa886e6b0($fileIdentifier, $file);
57
  }
58
 
59
  return $loader;
60
  }
61
  }
62
 
63
- function composerRequire96f7d562f9c6dd12a2fa032fa886e6b0($fileIdentifier, $file)
64
  {
65
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
66
  require $file;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit9f3572d4c44534633256010eb339e06e
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit9f3572d4c44534633256010eb339e06e', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit9f3572d4c44534633256010eb339e06e', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
+ call_user_func(\Composer\Autoload\ComposerStaticInit9f3572d4c44534633256010eb339e06e::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
48
  $loader->register(true);
49
 
50
  if ($useStaticLoader) {
51
+ $includeFiles = Composer\Autoload\ComposerStaticInit9f3572d4c44534633256010eb339e06e::$files;
52
  } else {
53
  $includeFiles = require __DIR__ . '/autoload_files.php';
54
  }
55
  foreach ($includeFiles as $fileIdentifier => $file) {
56
+ composerRequire9f3572d4c44534633256010eb339e06e($fileIdentifier, $file);
57
  }
58
 
59
  return $loader;
60
  }
61
  }
62
 
63
+ function composerRequire9f3572d4c44534633256010eb339e06e($fileIdentifier, $file)
64
  {
65
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
66
  require $file;
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInit96f7d562f9c6dd12a2fa032fa886e6b0
8
  {
9
  public static $files = array (
10
  '5255c38a0faeba867671b61dfda6d864' => __DIR__ . '/..' . '/paragonie/random_compat/lib/random.php',
@@ -72,8 +72,8 @@ class ComposerStaticInit96f7d562f9c6dd12a2fa032fa886e6b0
72
  public static function getInitializer(ClassLoader $loader)
73
  {
74
  return \Closure::bind(function () use ($loader) {
75
- $loader->prefixLengthsPsr4 = ComposerStaticInit96f7d562f9c6dd12a2fa032fa886e6b0::$prefixLengthsPsr4;
76
- $loader->prefixDirsPsr4 = ComposerStaticInit96f7d562f9c6dd12a2fa032fa886e6b0::$prefixDirsPsr4;
77
 
78
  }, null, ClassLoader::class);
79
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit9f3572d4c44534633256010eb339e06e
8
  {
9
  public static $files = array (
10
  '5255c38a0faeba867671b61dfda6d864' => __DIR__ . '/..' . '/paragonie/random_compat/lib/random.php',
72
  public static function getInitializer(ClassLoader $loader)
73
  {
74
  return \Closure::bind(function () use ($loader) {
75
+ $loader->prefixLengthsPsr4 = ComposerStaticInit9f3572d4c44534633256010eb339e06e::$prefixLengthsPsr4;
76
+ $loader->prefixDirsPsr4 = ComposerStaticInit9f3572d4c44534633256010eb339e06e::$prefixDirsPsr4;
77
 
78
  }, null, ClassLoader::class);
79
  }
views/admin/notices/disclaimer.php CHANGED
@@ -10,7 +10,7 @@
10
  For compliance audit or further help <a href="<?= gdpr('helpers')->docs('wordpress-gdpr-consultation'); ?>">contact legal professionals</a>.
11
  As each business and situation is unique, you might need to modify, add or delete information in these templates.
12
  In addition to this, you will need audit all your processing activities for achieving compliance to GDPR.
13
- Compliance to GDPR is risk based ongoing task.
14
  We are here to get you started.
15
  </p>
16
  <a class="button button-primary" href="<?= esc_url($acceptUrl); ?>">I accept</a>
10
  For compliance audit or further help <a href="<?= gdpr('helpers')->docs('wordpress-gdpr-consultation'); ?>">contact legal professionals</a>.
11
  As each business and situation is unique, you might need to modify, add or delete information in these templates.
12
  In addition to this, you will need audit all your processing activities for achieving compliance to GDPR.
13
+ Compliance to GDPR is risk based ongoing process.
14
  We are here to get you started.
15
  </p>
16
  <a class="button button-primary" href="<?= esc_url($acceptUrl); ?>">I accept</a>
views/installer/steps/disclaimer.php CHANGED
@@ -14,7 +14,7 @@
14
  For compliance audit or further help <a href="<?= gdpr('helpers')->docs('wordpress-gdpr-consultation'); ?>" target="_blank">contact legal professionals</a>.
15
  As each business and situation is unique, you might need to modify, add or delete information in these templates.
16
  In addition to this, you will need audit all your processing activities for achieving compliance to GDPR.
17
- Compliance to GDPR is risk based ongoing task.
18
  We are here to get you started.
19
  </p>
20
  <hr>
14
  For compliance audit or further help <a href="<?= gdpr('helpers')->docs('wordpress-gdpr-consultation'); ?>" target="_blank">contact legal professionals</a>.
15
  As each business and situation is unique, you might need to modify, add or delete information in these templates.
16
  In addition to this, you will need audit all your processing activities for achieving compliance to GDPR.
17
+ Compliance to GDPR is risk based ongoing process.
18
  We are here to get you started.
19
  </p>
20
  <hr>
views/policy/policy.php CHANGED
@@ -231,7 +231,7 @@
231
  </ul>
232
 
233
  <p>
234
- You can remove cookies stored in your computer via your browser settings. Alternatively, you can control some 3rd party cookies by using a privacy enhancement platform such as <a href="http://optout.aboutads.info/#!/" target="_blank">optout.aboutads.info</a> or <a href="http://www.youronlinechoices.com/en/your-ad-choices" target="_blank">youronlinechoices.com</a>. For more information about cookies, visit <a href="http://www.allaboutcookies.org" target="_blank">allaboutcookies.org</a>.
235
  </p>
236
 
237
  <p>
231
  </ul>
232
 
233
  <p>
234
+ You can remove cookies stored in your computer via your browser settings. Alternatively, you can control some 3rd party cookies by using a privacy enhancement platform such as <a href="http://optout.aboutads.info/#!/" target="_blank">optout.aboutads.info</a> or <a href="http://www.youronlinechoices.com/" target="_blank">youronlinechoices.com</a>. For more information about cookies, visit <a href="http://www.allaboutcookies.org" target="_blank">allaboutcookies.org</a>.
235
  </p>
236
 
237
  <p>
views/privacy-tools/notice-admin-role.php ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
1
+ <h2><?= __('Delete my user and data', 'gdpr') ?></h2>
2
+ <p class="description">
3
+ <em>
4
+ <?= __('Data deletion is disabled for administrative accounts.', 'gdpr'); ?>
5
+ </em>
6
+ </p>