From 39d635b9cf6816e521b79915e196374286444dcd Mon Sep 17 00:00:00 2001 From: QWp6t Date: Tue, 3 Mar 2015 14:13:12 -0800 Subject: [PATCH] Apply script_loader_src filter to jquery fallback --- lib/assets.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/assets.php b/lib/assets.php index 70af392..5effe2e 100644 --- a/lib/assets.php +++ b/lib/assets.php @@ -130,12 +130,12 @@ function jquery_local_fallback($src, $handle = null) { static $add_jquery_fallback = false; if ($add_jquery_fallback) { - echo '' . "\n"; + echo '' . "\n"; $add_jquery_fallback = false; } if ($handle === 'jquery') { - $add_jquery_fallback = true; + $add_jquery_fallback = apply_filters('script_loader_src', asset_path('scripts/jquery.js'), 'jquery-fallback'); } return $src;