Fix #293 - Remove unnecessary call to template uri

This commit is contained in:
Scott Walkinshaw
2012-03-12 20:13:39 -04:00
parent 3fceb85504
commit 7a471be049

View File

@@ -10,10 +10,10 @@ function roots_scripts() {
wp_enqueue_script('comment-reply');
}
wp_register_script('roots_plugins', get_template_directory_uri() . '/js/plugins.js', false, null, false);
wp_register_script('roots_script', get_template_directory_uri() . '/js/script.js', false, null, false);
wp_register_script('roots_plugins', '/js/plugins.js', false, null, false);
wp_register_script('roots_script', '/js/script.js', false, null, false);
wp_enqueue_script('roots_plugins');
wp_enqueue_script('roots_script');
}
add_action('wp_enqueue_scripts', 'roots_scripts', 100);
add_action('wp_enqueue_scripts', 'roots_scripts', 100);