Twenty Fifteen: remove Genericons as a dependency from loading the main stylesheet.

Merges [30865] to the 4.1 branch.

Props iamtakashi
See #30532.

Built from https://develop.svn.wordpress.org/branches/4.1@30882


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30870 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
John Blackbourn 2014-12-15 22:59:23 +00:00
parent dc488ed5a0
commit 9a88013b03
1 changed files with 1 additions and 1 deletions

View File

@ -206,7 +206,7 @@ function twentyfifteen_scripts() {
wp_enqueue_style( 'genericons', get_template_directory_uri() . '/genericons/genericons.css', array(), '3.2' ); wp_enqueue_style( 'genericons', get_template_directory_uri() . '/genericons/genericons.css', array(), '3.2' );
// Load our main stylesheet. // Load our main stylesheet.
wp_enqueue_style( 'twentyfifteen-style', get_stylesheet_uri(), array( 'genericons' ) ); wp_enqueue_style( 'twentyfifteen-style', get_stylesheet_uri() );
// Load the Internet Explorer specific stylesheet. // Load the Internet Explorer specific stylesheet.
wp_enqueue_style( 'twentyfifteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentyfifteen-style' ), '20141010' ); wp_enqueue_style( 'twentyfifteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentyfifteen-style' ), '20141010' );