mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-04 18:01:42 +01:00
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:
parent
52feff7a75
commit
b94a54be45
@ -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