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

git-svn-id: http://core.svn.wordpress.org/trunk@21275 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
lancewillett 2012-07-18 16:26:40 +00:00
parent 1cdf4c0dce
commit a7221773c5
1 changed files with 2 additions and 2 deletions

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.