Thanks for your help folks.
My migrated template was based on the old Responsive Avonlee template but I've heavily modified it. I like to keep my websites as light as possible, so don't use sliders or any fancy JavaScript effects on page.
My migrated template already uses jQuery for various things including my mobile dropdown menu & I've always called it in the html_header.php in the following way :-
Code:
<script src="jquery.min.js" type="text/javascript"></script>
I keep my own self hosted jquery.min.js file up to date (currently using 3.4.1) & prefer not to serve code from third parties were at all possible, so I've removed the following code from my header so as not to double up on jQuery with two different versions.
Code:
<script type="text/javascript">window.jQuery || document.write(unescape('%3Cscript type="text/javascript" src="https://code.jquery.com/jquery-3.4.0.min.js" integrity="sha256-BJeo0qm959uMBGb65z40ejJYGSgR7REI4+CW1fNKwOg=" crossorigin="anonymous"%3E%3C/script%3E'));</script>
<script type="text/javascript">window.jQuery || document.write(unescape('%3Cscript type="text/javascript" src="<?php echo $template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'jscript'); ?>/jquery.min.js"%3E%3C/script%3E'));</script>
Everything seems to be working as expected & I like serving my own jquery.min.js from my own server as I can set a longer expires header for javascript served from my own domain using .htaccess, speeding up repeat visits for my users.
I've tested everything I can since removing the two stock lines and just serving jquery the same way I always have & everything seems to be working as expected.
Thanks so much for the clarification.
Bookmarks