Skip to content

Commit

Permalink
Merge pull request #505 from EarthJournalismNetwork/hotfix/jquery-sec…
Browse files Browse the repository at this point in the history
…urity-update

upgrade jquery to 3.7.1
  • Loading branch information
ggraham-int authored Nov 28, 2023
2 parents 4d308eb + 6a4ce51 commit 64adeff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion themes/jeo-theme/inc/newspack-functions-overwrites.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ function newspack_scott_typography_css_wrap() {
function newspack_scott_scripts() {
// Enqueue Google fonts.
wp_deregister_script('jquery');
wp_enqueue_script('jquery', 'https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js', [], '2.1.4', true);
wp_enqueue_script('jquery', 'https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js', [], '3.7.1', true);

wp_enqueue_style('newspack-scott-fonts', newspack_scott_fonts_url(), [], null);

Expand Down

0 comments on commit 64adeff

Please sign in to comment.