diff --git a/includes/embeds/class-amp-core-block-handler.php b/includes/embeds/class-amp-core-block-handler.php index 79a014728c3..e80b9d9eb8d 100644 --- a/includes/embeds/class-amp-core-block-handler.php +++ b/includes/embeds/class-amp-core-block-handler.php @@ -441,6 +441,7 @@ static function ( $matches ) use ( $modal_state_property ) { */ public function dequeue_block_navigation_view_script() { wp_dequeue_script( 'wp-block-navigation-view' ); + wp_dequeue_script( 'wp-block-navigation-view-2' ); } /**