Good day! Friends, faced a problem...
Make up a template that has Customizer implemented through Picks. Plus, the pattern is specific and requires an auxiliary plug-in.
Make a plugin using jsoneditor.js that requires jquery 3.3.1. Respectively hooked it in the plugin like this:
wp_register_script('tm_jquery', plugin_dir_url( __FILE__ ) . 'js/jquery-3.3.1.min.js', array(), null, true);
Now options Picks stopped working because of connection jquery 3.3.1. Take it away, Picks options work. And without it, the plugin does not work. In General, we need both =) Customizer displays this error in the console:
Uncaught TypeError: i.wpColorPicker is not a function
Please help! How to do things right according to the standards of the EAP, to avoid conflict?
Thanks in advance!