Closed bobbingwide closed 3 years ago
I updated to Gutenberg 9.4.0-RC1 prior to delivering my fix for #35. On blocks.wp.a2z I got "No matching template found".
Turns out it was a forward slash backslash problem in Windows..
Change line 128 of lib\templates.php, function _gutenberg_synchronize_theme_templates()
lib\templates.php
_gutenberg_synchronize_theme_templates()
strpos( $path, $template_base_path . DIRECTORY_SEPARATOR ) + 1 + strlen( $template_base_path ),
This has been fixed in Gutenberg 9.4.0
I updated to Gutenberg 9.4.0-RC1 prior to delivering my fix for #35. On blocks.wp.a2z I got "No matching template found".
Problem analysis
Turns out it was a forward slash backslash problem in Windows..
Temporary fix
Change line 128 of
lib\templates.php
, function_gutenberg_synchronize_theme_templates()