jQuery Conflict
-
I have a client who was been using the plugin Content Timeline for some time with success. However, after adding Responsive Photo Gallery Pro, the Content Timeline stopped working.
In the ‘responsive-photo-gallery-pro.php’ is this line.
wp_enqueue_script('rpgp-jquery-min-js',RPGP_PLUGIN_URL.'js/jquery.min.js', array('jquery'));
That version is jQuery v1.10.2.
The version bundles with WordPress is currently jQuery v1.12.3.
I deregistered the jQuery from your plugin as follows.
add_action( 'wp_print_scripts', 'tec_deregister_javascript', 100 ); function tec_deregister_javascript() { wp_deregister_script( 'rpgp-jquery-min-js' ); }
This allows the Content Timeline plugin to function properly and does not appear to effect Responsive Photo Gallery Pro either. Is there any functionally with your plugin that is being missed by using the more recent jQuery?
- The topic ‘jQuery Conflict’ is closed to new replies.