Skip to content

Commit bd8e256

Browse files
committed
Dequeue wp-block-navigation-view-2 script handle to avoid core navigation block validation issues
1 parent 08906e4 commit bd8e256

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

includes/embeds/class-amp-core-block-handler.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,7 @@ static function ( $matches ) use ( $modal_state_property ) {
441441
*/
442442
public function dequeue_block_navigation_view_script() {
443443
wp_dequeue_script( 'wp-block-navigation-view' );
444+
wp_dequeue_script( 'wp-block-navigation-view-2' );
444445
}
445446

446447
/**

0 commit comments

Comments
 (0)