Home › Forums › Basel support forum › Update for jquery 3? › Reply To: Update for jquery 3?
May 26, 2020 at 11:51 am
#197990
LeachimW
Participant
You don’t need to use default WP jquery. Just deregister and register script with own library again.
wp_deregister_script('jquery');
wp_register_script('jquery', BASEL_SCRIPTS . '/jquery.js', [], null, true);
wp_enqueue_script( 'jquery' );
I’m doing it in my custom themes for years and since most plugins are using newer jquery standards anyway, no compatibility issues so far.