Version Description
- Fix cookie toggle indicator set to on even if the user had previously untoggled it.
- Other minor fixes to the audit log reconsent.
Download this release
Release Info
Developer | fclaussen |
Plugin | GDPR |
Version | 2.0.5 |
Comparing to | |
See all releases |
Code changes from version 2.0.4 to 2.0.5
- README.txt +5 -1
- gdpr.php +2 -2
- languages/gdpr.pot +3 -3
- public/partials/privacy-preferences-modal.php +2 -0
README.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: gdpr, compliance, privacy, law, general data protection regulation
|
|
5 |
Requires at least: 4.7
|
6 |
Requires PHP: 5.6
|
7 |
Tested up to: 4.9
|
8 |
-
Stable tag: 2.0.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -206,6 +206,10 @@ Activating this plugin does not guarantee that an organisation is successfully m
|
|
206 |
|
207 |
== Changelog ==
|
208 |
|
|
|
|
|
|
|
|
|
209 |
= 2.0.4 =
|
210 |
* Adding two missing translation strings
|
211 |
* Removing debug code that I forgot to remove from 2.0.3
|
5 |
Requires at least: 4.7
|
6 |
Requires PHP: 5.6
|
7 |
Tested up to: 4.9
|
8 |
+
Stable tag: 2.0.5
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
206 |
|
207 |
== Changelog ==
|
208 |
|
209 |
+
= 2.0.5 =
|
210 |
+
* Fix cookie toggle indicator set to on even if the user had previously untoggled it.
|
211 |
+
* Other minor fixes to the audit log reconsent.
|
212 |
+
|
213 |
= 2.0.4 =
|
214 |
* Adding two missing translation strings
|
215 |
* Removing debug code that I forgot to remove from 2.0.3
|
gdpr.php
CHANGED
@@ -16,7 +16,7 @@
|
|
16 |
* Plugin Name: GDPR
|
17 |
* Plugin URI: https://trewknowledge.com
|
18 |
* Description: This plugin is meant to assist a Controller, Data Processor, and Data Protection Officer (DPO) with efforts to meet the obligations and rights enacted under the GDPR.
|
19 |
-
* Version: 2.0.
|
20 |
* Author: Trew Knowledge
|
21 |
* Author URI: https://trewknowledge.com
|
22 |
* License: GPL-2.0+
|
@@ -35,7 +35,7 @@ if ( ! defined( 'WPINC' ) ) {
|
|
35 |
* Start at version 1.0.0 and use SemVer - https://semver.org
|
36 |
* Rename this for your plugin and update it as you release new versions.
|
37 |
*/
|
38 |
-
define( 'GDPR_VERSION', '2.0.
|
39 |
|
40 |
/**
|
41 |
* The code that runs during plugin activation.
|
16 |
* Plugin Name: GDPR
|
17 |
* Plugin URI: https://trewknowledge.com
|
18 |
* Description: This plugin is meant to assist a Controller, Data Processor, and Data Protection Officer (DPO) with efforts to meet the obligations and rights enacted under the GDPR.
|
19 |
+
* Version: 2.0.5
|
20 |
* Author: Trew Knowledge
|
21 |
* Author URI: https://trewknowledge.com
|
22 |
* License: GPL-2.0+
|
35 |
* Start at version 1.0.0 and use SemVer - https://semver.org
|
36 |
* Rename this for your plugin and update it as you release new versions.
|
37 |
*/
|
38 |
+
define( 'GDPR_VERSION', '2.0.5' );
|
39 |
|
40 |
/**
|
41 |
* The code that runs during plugin activation.
|
languages/gdpr.pot
CHANGED
@@ -877,7 +877,7 @@ msgstr ""
|
|
877 |
msgid "Required cookies are cookies that cannot be opted out of and need to be created for the site to function properly. The ON status means that the cookie preference for this category will be enabled by default. The OFF status means the user needs to manually turn these cookies on to opt into these cookies."
|
878 |
msgstr ""
|
879 |
|
880 |
-
#: admin/partials/settings.php:231, public/partials/privacy-preferences-modal.php:73, public/partials/privacy-preferences-modal.php:
|
881 |
msgid "Required"
|
882 |
msgstr ""
|
883 |
|
@@ -1097,11 +1097,11 @@ msgstr ""
|
|
1097 |
msgid "Cookies Used"
|
1098 |
msgstr ""
|
1099 |
|
1100 |
-
#: public/partials/privacy-preferences-modal.php:
|
1101 |
msgid "Opt Out"
|
1102 |
msgstr ""
|
1103 |
|
1104 |
-
#: public/partials/privacy-preferences-modal.php:
|
1105 |
msgid "Save Preferences"
|
1106 |
msgstr ""
|
1107 |
|
877 |
msgid "Required cookies are cookies that cannot be opted out of and need to be created for the site to function properly. The ON status means that the cookie preference for this category will be enabled by default. The OFF status means the user needs to manually turn these cookies on to opt into these cookies."
|
878 |
msgstr ""
|
879 |
|
880 |
+
#: admin/partials/settings.php:231, public/partials/privacy-preferences-modal.php:73, public/partials/privacy-preferences-modal.php:120, admin/partials/templates/tmpl-cookies.php:33
|
881 |
msgid "Required"
|
882 |
msgstr ""
|
883 |
|
1097 |
msgid "Cookies Used"
|
1098 |
msgstr ""
|
1099 |
|
1100 |
+
#: public/partials/privacy-preferences-modal.php:139
|
1101 |
msgid "Opt Out"
|
1102 |
msgstr ""
|
1103 |
|
1104 |
+
#: public/partials/privacy-preferences-modal.php:154
|
1105 |
msgid "Save Preferences"
|
1106 |
msgstr ""
|
1107 |
|
public/partials/privacy-preferences-modal.php
CHANGED
@@ -110,6 +110,8 @@
|
|
110 |
if ( ! empty( $approved_cookies ) ) {
|
111 |
if ( in_array( trim( $cookie ), $approved_cookies ) ) {
|
112 |
$enabled = true;
|
|
|
|
|
113 |
}
|
114 |
}
|
115 |
}
|
110 |
if ( ! empty( $approved_cookies ) ) {
|
111 |
if ( in_array( trim( $cookie ), $approved_cookies ) ) {
|
112 |
$enabled = true;
|
113 |
+
} else {
|
114 |
+
$enabled = false;
|
115 |
}
|
116 |
}
|
117 |
}
|