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
This commit is contained in:
Lance Willett 2013-09-12 21:45:08 +00:00
parent 52feff7a75
commit b94a54be45

View File

@ -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() );