Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
Add suffix to integration registry
Browse files Browse the repository at this point in the history
  • Loading branch information
mikejolley committed Feb 11, 2021
1 parent 4bda1dd commit 5f3a3aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BlockTypes/AbstractBlock.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ protected function initialize() {
_doing_it_wrong( __METHOD__, esc_html( __( 'Block name is required.', 'woo-gutenberg-products-block' ) ), '4.5.0' );
return false;
}
$this->integration_registry->initialize( $this->block_name );
$this->integration_registry->initialize( $this->block_name . '_block' );
$this->register_block_type_assets();
$this->register_block_type();
add_action( 'enqueue_block_editor_assets', [ $this, 'enqueue_editor_assets' ] );
Expand Down

0 comments on commit 5f3a3aa

Please sign in to comment.