Spearhead: remove excess JS from the frontend (#7849)
This commit is contained in:
parent
d82db8e14a
commit
1278c6d895
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ function spearhead_block_extends() {
|
|||
array( 'wp-blocks', 'wp-edit-post' ) // wp-edit-post is added to avoid a race condition when trying to unregister a style variation
|
||||
);
|
||||
}
|
||||
add_action( 'enqueue_block_assets', 'spearhead_block_extends' );
|
||||
add_action( 'enqueue_block_editor_assets', 'spearhead_block_extends' );
|
||||
|
||||
/**
|
||||
* Add Google webfonts
|
||||
|
|
Loading…
Reference in a new issue