Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #718711

    I am having an number of issues with Enfold 3.8 and Formidable Pro. One issues is that there is an old version of jQuery being enqueued in the following files:
    enfold > config-layerslider > LayerSlider_old > wp > scripts.php line 18 & 80
    enfold > config-layerslider > LayerSlider > wp > scripts.php line 20 & 81
    // Use Gogole CDN version of jQuery

    if(get_option('ls_use_custom_jquery', false)) {
    	wp_deregister_script('jquery');
    	wp_enqueue_script('jquery', '//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js', array(), '1.8.3');
    }
    

    enfold > framework > php > avia_shortcodes > av_prev.php line 26

    <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js" ></script>
    

    It seems that it’s the layerslider that is hijacking the jquery. Is there a reason for such an old version of jquery?

    #718716

    Just solved this issue.
    This force-loading an old version of jQuery can be turned off by navigating to:
    Dashboard > LayerSlider WP > Scroll to the bottom of the page > Advanced Tab
    and turn off the foolish feature:
    Use Google CDN version of jQuery (on/off) This option will likely solve “Old jQuery” issues.

    Shame on you LayerSlider WP.
    Issue can be marked as resolved.

    #719007

    Hi,

    Glad that you fixed it and sharing the solution :)

    Best regards,
    Nikko

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Old jQuery version is being enqueued from Google CDN’ is closed to new replies.