Skip to content

Commit

Permalink
Remove scripts versions to prevent redirections
Browse files Browse the repository at this point in the history
  • Loading branch information
SantosGuillamot committed Sep 21, 2022
1 parent 473f140 commit a134608
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/block-library/src/navigation/index.php
Expand Up @@ -431,7 +431,7 @@ function render_block_core_navigation( $attributes, $content, $block ) {
'AlpineJS_focus',
'https://unpkg.com/@alpinejs/focus@3.10.3/dist/cdn.min.js',
array(),
"3.10.3",
null,
true // Load it in the footer
);
wp_enqueue_script( 'AlpineJS_focus' );
Expand All @@ -441,7 +441,7 @@ function render_block_core_navigation( $attributes, $content, $block ) {
'AlpineJS',
'https://unpkg.com/alpinejs@3.10.3/dist/cdn.min.js',
array('AlpineJS_focus'),
"3.10.3",
null,
true // Load it in the footer
);
wp_enqueue_script( 'AlpineJS' );
Expand Down

0 comments on commit a134608

Please sign in to comment.