From 6a4ce51e907b53cb311c85fb570a45d6238d07d5 Mon Sep 17 00:00:00 2001 From: George Graham Date: Thu, 23 Nov 2023 14:49:33 +0100 Subject: [PATCH] upgrade jquery to 3.7.1 --- themes/jeo-theme/inc/newspack-functions-overwrites.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/jeo-theme/inc/newspack-functions-overwrites.php b/themes/jeo-theme/inc/newspack-functions-overwrites.php index e5546334..13b3374f 100755 --- a/themes/jeo-theme/inc/newspack-functions-overwrites.php +++ b/themes/jeo-theme/inc/newspack-functions-overwrites.php @@ -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);