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
This commit is contained in:
parent
bb2908d613
commit
4585c81b37
@ -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() );
|
||||
|
Loading…
Reference in New Issue
Block a user