Update functions.php

This commit is contained in:
Mike Francis 2013-09-09 16:11:40 +01:00
parent f966959c0b
commit 08e4a345c7
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ remove_action( 'wp_head', 'wp_shortlink_wp_head', 10, 0 );
function theme_scripts() {
wp_deregister_script( 'jquery' );
wp_register_script( 'jquery', ( 'http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js' ), false, '1.7.1', true);
wp_register_script( 'jquery', ( '//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js' ), false, '1.7.1', true);
wp_enqueue_script( 'jquery' );
wp_enqueue_script( 'script', get_stylesheet_directory_uri() . '/js/script.js', array( 'jquery' ), null, true );
}