Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
alain
Make it Open Project Site
Commits
450fa78b
Commit
450fa78b
authored
Feb 25, 2021
by
alain
🐙
Browse files
fix redirects?
parent
47175190
Changes
1
Show whitespace changes
Inline
Side-by-side
wordpress/wp-content/themes/twentytwentyone/functions.php
View file @
450fa78b
...
...
@@ -9,6 +9,8 @@
* @since Twenty Twenty-One 1.0
*/
remove_filter
(
'template_redirect'
,
'redirect_canonical'
);
// This theme requires WordPress 5.3 or later.
if
(
version_compare
(
$GLOBALS
[
'wp_version'
],
'5.3'
,
'<'
)
)
{
require
get_template_directory
()
.
'/inc/back-compat.php'
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment