File tree 4 files changed +3
-5
lines changed
4 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -97,6 +97,7 @@ public static function endpointTemplateRedirect()
97
97
return ;
98
98
}
99
99
100
+ add_filter ('the_title ' , fn () => ($ title ));
100
101
add_filter ('pre_get_document_title ' , fn () => ($ title ));
101
102
102
103
if (tos ()->overwriteEndpoints ()) {
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " rrze-legal" ,
3
- "version" : " 2.6.12 " ,
3
+ "version" : " 2.6.13 " ,
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.6.12
7
+ Version: 2.6.13
8
8
Author: RRZE Webteam
9
9
Author URI: https://blogs.fau.de/webworking/
10
10
License: GNU General Public License Version 3
Original file line number Diff line number Diff line change 9
9
defined ('ABSPATH ' ) || exit;
10
10
11
11
$ langCode = ' lang=" ' . Locale::getLangCode () . '" ' ;
12
- if ($ post = get_post ()) {
13
- $ post ->post_title = $ title ;
14
- }
15
12
get_header ();
16
13
if (is_plugin_active ('rrze-elements/rrze-elements.php ' )) {
17
14
wp_enqueue_style ('rrze-elements ' );
You can’t perform that action at this time.
0 commit comments