Title: Theme code overriding plugin
Last modified: August 22, 2016

---

# Theme code overriding plugin

 *  Resolved [sherrym](https://wordpress.org/support/users/sherrym/)
 * (@sherrym)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/theme-code-overriding-plugin/)
 * My theme seems to be overriding this plugin with this code:
    ‘function theme_update_jquery_scripts(){
   if(is_admin()) { return; } wp_deregister_script(‘jquery’); if (theme_get_option(‘
   theme_include_scripts_from_cdn’)) { wp_register_script(‘jquery’, ‘[https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js&#8217](https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js&#8217););}
   else { wp_register_script(‘jquery’, get_bloginfo(‘template_url’, ‘display’) .‘/
   jquery.js’); } }’
 * And the site seems to still be loading Jquery version 1.8… Any ideas on how I
   remedy this situation?
 * Should I comment this whole thing out, or change it in some way?
 * Thanks!
 * [https://mobilitysalon.com](https://mobilitysalon.com)
 * [https://wordpress.org/plugins/use-google-libraries/](https://wordpress.org/plugins/use-google-libraries/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Jason Penney](https://wordpress.org/support/users/jczorkmid/)
 * (@jczorkmid)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/theme-code-overriding-plugin/#post-5877045)
 * Your theme is taking the jquery version that’s supported by WordPress and hard
   coding some other version, which is likely to break any number of things. UGL
   sees it’s non-standard, and doesn’t touch it (by design). I’d suggest a different
   theme, since this one seems to have made very poor decisions.

Viewing 1 replies (of 1 total)

The topic ‘Theme code overriding plugin’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/use-google-libraries.svg)
 * [Use Google Libraries](https://wordpress.org/plugins/use-google-libraries/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/use-google-libraries/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/use-google-libraries/)
 * [Active Topics](https://wordpress.org/support/plugin/use-google-libraries/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/use-google-libraries/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/use-google-libraries/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Jason Penney](https://wordpress.org/support/users/jczorkmid/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/theme-code-overriding-plugin/#post-5877045)
 * Status: resolved