Twenty Fifteen: correct stylesheet dependencies.
Props ocean90, fixes #30532. git-svn-id: https://develop.svn.wordpress.org/trunk@30692 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
2f64100369
commit
4a3bceaea9
@ -213,10 +213,10 @@ function twentyfifteen_scripts() {
|
||||
wp_enqueue_style( 'genericons', get_template_directory_uri() . '/genericons/genericons.css', array(), '3.2' );
|
||||
|
||||
// Load our main stylesheet.
|
||||
wp_enqueue_style( 'twentyfifteen-style', get_stylesheet_uri() );
|
||||
wp_enqueue_style( 'twentyfifteen-style', get_stylesheet_uri(), array( 'twentyfifteen-fonts', 'genericons' ) );
|
||||
|
||||
// Load the Internet Explorer specific stylesheet.
|
||||
wp_enqueue_style( 'twentyfifteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentyfifteen-style', 'genericons' ), '20141010' );
|
||||
wp_enqueue_style( 'twentyfifteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentyfifteen-style' ), '20141010' );
|
||||
wp_style_add_data( 'twentyfifteen-ie', 'conditional', 'lt IE 9' );
|
||||
|
||||
// Load the Internet Explorer 7 specific stylesheet.
|
||||
|
Loading…
Reference in New Issue
Block a user