Skip to content

Commit 8e0d60e

Browse files
authored
Merge pull request #58 from RRZE-Webteam/dev
Dev
2 parents 8172645 + d895701 commit 8e0d60e

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

includes/Consent/Frontend.php

+5
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
use RRZE\Legal\Utils;
88
use function RRZE\Legal\{plugin, consent};
9+
use const RRZE\PrivateSite\PRIVATE_SITE_OPTION;
910

1011
class Frontend
1112
{
@@ -183,6 +184,10 @@ public static function rrzePrivateSitePlugin()
183184
return false;
184185
}
185186

187+
if (empty(PRIVATE_SITE_OPTION) || !get_option(PRIVATE_SITE_OPTION)) {
188+
return false;
189+
}
190+
186191
return true;
187192
}
188193
}

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "rrze-legal",
3-
"version": "2.5.0",
3+
"version": "2.5.1",
44
"main": "rrze-legal.php",
55
"scripts": {
66
"start": "webpack --mode=development --watch",

rrze-legal.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Plugin Name: RRZE Legal
55
Plugin URI: https://gitlab.rrze.fau.de/rrze-webteam/rrze-legal
66
Description: Legal Mandatory Information & GDPR.
7-
Version: 2.5.0
7+
Version: 2.5.1
88
Author: RRZE Webteam
99
Author URI: https://blogs.fau.de/webworking/
1010
License: GNU General Public License Version 3

0 commit comments

Comments
 (0)