Summary:
When wp scaffold block is executed to create a block on a child theme, the reference inner the generate PHP file is to the parent.
Step to reproduce:
- Run the command
wp scaffold block new-block --theme=child-theme
- Observe on
blocks/new-block.php use get_template_directory* calls instead get_stylesheet_directory*