Closed povedica closed 5 years ago
WP-CLI version: 2.0.1 PHP version: 7.2.4 Shell: /bin/bash OS: Darwin 16.7.0 Darwin Kernel Version 16.7.0
This was fixed already in https://github.com/wp-cli/scaffold-command/commit/5e771ec9f490c40cb6b9bb156a5d76427981b3f3, but is not yet part of a stable release. It will go into the v2.1.0 release on December 18th. Until then, you can use the nightly
version to scaffold the block instead.
There is a bug when running wp scaffold block command Steps to reproduce
get_template_directory_uri() . "/blocks/$index_js, //Missing doublequote close