From 4585c81b376460bde4325fdcc73335457326b801 Mon Sep 17 00:00:00 2001 From: Lance Willett Date: Thu, 12 Sep 2013 21:44:49 +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. git-svn-id: https://develop.svn.wordpress.org/trunk@25417 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentyfourteen/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-content/themes/twentyfourteen/functions.php b/src/wp-content/themes/twentyfourteen/functions.php index 5cdcfbf55f..398b93d003 100644 --- a/src/wp-content/themes/twentyfourteen/functions.php +++ b/src/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() );