Skip to content

Commit

Permalink
All: Switch first-party CDN calls back to canonical code.jquery.com
Browse files Browse the repository at this point in the history
This reverts commit a6d9ea8.

Ref jquery/infrastructure-puppet#30.
  • Loading branch information
Krinkle committed Sep 18, 2023
1 parent f25da6c commit 86fc007
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion themes/jquery/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

<script src="<?php echo get_template_directory_uri(); ?>/js/modernizr.custom.2.8.3.min.js"></script>

<script src="https://codeorigin.jquery.com/jquery-3.7.1.min.js"></script>
<script src="https://code.jquery.com/jquery-3.7.1.min.js"></script>

<script src="<?php echo get_template_directory_uri(); ?>/js/plugins.js"></script>
<script src="<?php echo get_template_directory_uri(); ?>/js/main.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions themes/releases.jquery.com/page.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php
wp_enqueue_style('jquery-ui', 'https://codeorigin.jquery.com/ui/1.13.2/themes/ui-lightness/jquery-ui.css');
wp_enqueue_style('jquery-ui', 'https://code.jquery.com/ui/1.13.2/themes/ui-lightness/jquery-ui.css');
wp_enqueue_style('sri-modal', get_template_directory_uri() . '/css/sri-modal.css');

wp_enqueue_script('jquery-ui', 'https://codeorigin.jquery.com/ui/1.13.2/jquery-ui.min.js');
wp_enqueue_script('jquery-ui', 'https://code.jquery.com/ui/1.13.2/jquery-ui.min.js');
wp_enqueue_script('clipboard-polyfill', get_template_directory_uri() . '/js/clipboard-polyfill.js');
wp_enqueue_script('sri-modal', get_template_directory_uri() . '/js/sri-modal.js');
?>
Expand Down

0 comments on commit 86fc007

Please sign in to comment.