File tree 3 files changed +7
-2
lines changed
3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 6
6
7
7
use RRZE \Legal \Utils ;
8
8
use function RRZE \Legal \{plugin , consent };
9
+ use const RRZE \PrivateSite \PRIVATE_SITE_OPTION ;
9
10
10
11
class Frontend
11
12
{
@@ -183,6 +184,10 @@ public static function rrzePrivateSitePlugin()
183
184
return false ;
184
185
}
185
186
187
+ if (empty (PRIVATE_SITE_OPTION ) || !get_option (PRIVATE_SITE_OPTION )) {
188
+ return false ;
189
+ }
190
+
186
191
return true ;
187
192
}
188
193
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " rrze-legal" ,
3
- "version" : " 2.5.0 " ,
3
+ "version" : " 2.5.1 " ,
4
4
"main" : " rrze-legal.php" ,
5
5
"scripts" : {
6
6
"start" : " webpack --mode=development --watch" ,
Original file line number Diff line number Diff line change 4
4
Plugin Name: RRZE Legal
5
5
Plugin URI: https://gitlab.rrze.fau.de/rrze-webteam/rrze-legal
6
6
Description: Legal Mandatory Information & GDPR.
7
- Version: 2.5.0
7
+ Version: 2.5.1
8
8
Author: RRZE Webteam
9
9
Author URI: https://blogs.fau.de/webworking/
10
10
License: GNU General Public License Version 3
You can’t perform that action at this time.
0 commit comments