wp_enqueue_script( 'popper', 'https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.3/umd/popper.min.js', array(), null, true ); wp_enqueue_script( 'bootstrap', 'https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/js/bootstrap.min.js', array('jquery', 'popper'), null, true );
However, when I view the source code of my Wordpress site, I see the JQuery version loaded is 1.12.4. The current stable version is 3.2.1. So, how do I rectify this problem. Should I do the unrecommended thing of saving JQuery file to server and enqueueing it separately?