From d8a7fc395ee14653cf241713238bcaa84123eb16 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 --- functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions.php b/functions.php index fabd342c9..799db27c9 100644 --- a/functions.php +++ b/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.