diff --git a/lib/full-site-editing/template-loader.php b/lib/full-site-editing/template-loader.php index 9b7b846579284d..efac8b066d32a2 100644 --- a/lib/full-site-editing/template-loader.php +++ b/lib/full-site-editing/template-loader.php @@ -96,7 +96,8 @@ function gutenberg_override_query_template( $template, $type, array $templates ) add_action( 'wp_head', 'gutenberg_viewport_meta_tag', 0 ); // Render title tag with content, regardless of whether theme has title-tag support. - remove_action( 'wp_head', '_wp_render_title_tag', 1 ); // Remove conditional title tag rendering... + remove_action( 'wp_head', '_wp_render_title_tag', 1 ); // Remove conditional title tag rendering... + remove_action( 'wp_head', '_block_template_render_title_tag', 1 ); add_action( 'wp_head', 'gutenberg_render_title_tag', 1 ); // ...and make it unconditional. // This file will be included instead of the theme's template file.