diff --git a/src/Theme.php b/src/Theme.php index 42665ae..8eee4ae 100644 --- a/src/Theme.php +++ b/src/Theme.php @@ -255,4 +255,15 @@ private function removeOuterDiv(DOMDocument $doc): string return $newContent; } + + /** + * Overwrite the project should_load_separate_core_block_assets since WP 6.9 + * + * @see https://github.com/roots/sage/pull/3279 + */ + #[Action('should_load_separate_core_block_assets')] + public function forceLoadSeparateCoreBlockAssets(): bool + { + return false; + } }