Skip to content

Commit

Permalink
Update jquery to 2.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
overclokk committed Jun 4, 2014
1 parent 1556666 commit 964bf7f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/script.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
function italystrap_add_style_and_script()
{
global $path;
global $pathchild;

//Carico gli stili CSS
//wp_enqueue_style( 'style', $path . '/style.css', null, null);
Expand All @@ -11,7 +12,7 @@ function italystrap_add_style_and_script()

//Carico jquery da google api cdn
wp_deregister_script('jquery');
wp_register_script('jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js', false, null, true);
wp_register_script('jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js', false, null, true);
add_filter('script_loader_src', 'italystrap_jquery_local_fallback', 10, 2);
wp_enqueue_script('jquery');

Expand Down

0 comments on commit 964bf7f

Please sign in to comment.