Closed JoshuaVB closed 10 months ago
Ran into the same issue, this fixed it in my case since my Sage 9 themes do not have a theme.json file in them.
/**
* Satisfy WP check for theme.json without this file being present.
*
* @since 6.3
* @link https://github.com/roots/sage/issues/3143
*/
add_filter('theme_file_path', function ($path, $file) {
if ($file === 'theme.json') {
return false;
}
return $path;
}, 0, 2);
@andrewmarino Amazing, thank you so much! Added this to functions.php and it worked like a charm.
works perfectly thanks so much ❤️️
Version
9.0.9
What did you expect to happen?
Normal gutenberg styles to appear
What actually happens?
Broken gutenberg styles appear
Steps to reproduce
Reverting to WP Core 6.3.2 or lower fixes the issue.
System info
No response
Log output
No response
Please confirm this isn't a support request.
Yes