From a7221773c510b509d00eeb8b88473ef92a71d62b Mon Sep 17 00:00:00 2001 From: lancewillett Date: Wed, 18 Jul 2012 16:26:40 +0000 Subject: [PATCH] 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 --- wp-content/themes/twentytwelve/functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-content/themes/twentytwelve/functions.php b/wp-content/themes/twentytwelve/functions.php index fabd342c90..799db27c9f 100644 --- a/wp-content/themes/twentytwelve/functions.php +++ b/wp-content/themes/twentytwelve/functions.php @@ -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.