Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doing_it_wrong on register_block_type #7

Open
ktckto opened this issue Jun 24, 2024 · 0 comments
Open

doing_it_wrong on register_block_type #7

ktckto opened this issue Jun 24, 2024 · 0 comments

Comments

@ktckto
Copy link

ktckto commented Jun 24, 2024

Registering block zu/hooks_only in wp-content/plugins/zu-translate/zukit/zukit-blocks.php : 97 causes doing_it_wrong
WP_Block_Type_Registry::register was called incorrectly
The solution is to rename block zu/hooks_only to zu/hooks-only
at wp-content/plugins/zu-translate/includes/zutranslate-plugin.php : 266

This is tested on WordPress core v. 6.5.4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant