From b94a54be453137f120d499373491fbe04b9fcf07 Mon Sep 17 00:00:00 2001 From: Lance Willett Date: Thu, 12 Sep 2013 21:45:08 +0000 Subject: [PATCH] Twenty Fourteen: prefix Genericons enqueue handle so that the theme uses the its own version of the font CSS. Fixes a few display issues when plugins like Jetpack enqueue a different version of Genericons. See #25085. Built from https://develop.svn.wordpress.org/trunk@25417 git-svn-id: http://core.svn.wordpress.org/trunk@25342 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentyfourteen/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-content/themes/twentyfourteen/functions.php b/wp-content/themes/twentyfourteen/functions.php index 5cdcfbf55f..398b93d003 100644 --- a/wp-content/themes/twentyfourteen/functions.php +++ b/wp-content/themes/twentyfourteen/functions.php @@ -206,7 +206,7 @@ function twentyfourteen_scripts() { wp_enqueue_style( 'twentyfourteen-lato' ); // Add Genericons font, used in the main stylesheet. - wp_enqueue_style( 'genericons', get_template_directory_uri() . '/fonts/genericons.css', array(), '2.09' ); + wp_enqueue_style( 'twentyfourteen-genericons', get_template_directory_uri() . '/fonts/genericons.css', array(), '2.09' ); // Loads our main stylesheet. wp_enqueue_style( 'twentyfourteen-style', get_stylesheet_uri() );