Twenty Twelve: proper namespace for two script/style handles in functions.php, props obenland. Fixes #21230.

git-svn-id: https://develop.svn.wordpress.org/trunk@21275 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Lance Willett 2012-07-18 16:26:40 +00:00
parent 1879bb5571
commit 5c27dfc67c

View File

@ -103,7 +103,7 @@ function twentytwelve_scripts_styles() {
* JavaScript for handling navigation menus and the resized
* styles for small screen sizes.
*/
wp_enqueue_script( 'navigation', get_template_directory_uri() . '/js/theme.js', array( 'jquery' ), '20130320', true );
wp_enqueue_script( 'twentytwelve-navigation', get_template_directory_uri() . '/js/theme.js', array( 'jquery' ), '20130320', true );
/**
* Load special font CSS file.
@ -111,7 +111,7 @@ function twentytwelve_scripts_styles() {
*/
$options = $twentytwelve_options->get_theme_options();
if ( $options['enable_fonts'] )
wp_enqueue_style( 'fonts', 'http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700' );
wp_enqueue_style( 'twentytwelve-fonts', 'http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700' );
/**
* Load our main CSS file.