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
99481b20
Commit
99481b20
authored
Mar 17, 2021
by
alain
🐙
Browse files
remove filter template_redirect
parent
ae248552
Changes
1
Hide whitespace changes
Inline
Side-by-side
wordpress/wp-content/themes/makeitopen/functions.php
View file @
99481b20
...
...
@@ -4,6 +4,8 @@ if ( ! defined( 'MIO_VERSION' ) ) {
define
(
'MIO_VERSION'
,
'0.0.1'
);
}
remove_filter
(
'template_redirect'
,
'redirect_canonical'
);
if
(
!
function_exists
(
'makeitopen_setup'
)
)
:
function
makeitopen_setup
()
{
...
...
@@ -63,4 +65,4 @@ require get_template_directory() . '/inc/acf.php';
/**
* Load more function
*/
require
get_template_directory
()
.
'/inc/load-more.php'
;
\ No newline at end of file
require
get_template_directory
()
.
'/inc/load-more.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