Skip to content

Commit 64adeff

Browse files
authored
Merge pull request #505 from EarthJournalismNetwork/hotfix/jquery-security-update
upgrade jquery to 3.7.1
2 parents 4d308eb + 6a4ce51 commit 64adeff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

themes/jeo-theme/inc/newspack-functions-overwrites.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ function newspack_scott_typography_css_wrap() {
106106
function newspack_scott_scripts() {
107107
// Enqueue Google fonts.
108108
wp_deregister_script('jquery');
109-
wp_enqueue_script('jquery', 'https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js', [], '2.1.4', true);
109+
wp_enqueue_script('jquery', 'https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js', [], '3.7.1', true);
110110

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

0 commit comments

Comments
 (0)