Commit 450fa78b authored by alain's avatar alain 🐙
Browse files

fix redirects?

parent 47175190
...@@ -9,6 +9,8 @@ ...@@ -9,6 +9,8 @@
* @since Twenty Twenty-One 1.0 * @since Twenty Twenty-One 1.0
*/ */
remove_filter('template_redirect', 'redirect_canonical');
// This theme requires WordPress 5.3 or later. // This theme requires WordPress 5.3 or later.
if ( version_compare( $GLOBALS['wp_version'], '5.3', '<' ) ) { if ( version_compare( $GLOBALS['wp_version'], '5.3', '<' ) ) {
require get_template_directory() . '/inc/back-compat.php'; require get_template_directory() . '/inc/back-compat.php';
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment