Twenty Fourteen: remove Genericons as a dependency from loading the main stylesheet and IE-specific stylesheet.
Merges [30866] to the 4.1 branch. See #30532. Built from https://develop.svn.wordpress.org/branches/4.1@30883 git-svn-id: http://core.svn.wordpress.org/branches/4.1@30871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9a88013b03
commit
409ea2798a
|
@ -234,10 +234,10 @@ function twentyfourteen_scripts() {
|
|||
wp_enqueue_style( 'genericons', get_template_directory_uri() . '/genericons/genericons.css', array(), '3.0.3' );
|
||||
|
||||
// Load our main stylesheet.
|
||||
wp_enqueue_style( 'twentyfourteen-style', get_stylesheet_uri(), array( 'genericons' ) );
|
||||
wp_enqueue_style( 'twentyfourteen-style', get_stylesheet_uri() );
|
||||
|
||||
// Load the Internet Explorer specific stylesheet.
|
||||
wp_enqueue_style( 'twentyfourteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentyfourteen-style', 'genericons' ), '20131205' );
|
||||
wp_enqueue_style( 'twentyfourteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentyfourteen-style' ), '20131205' );
|
||||
wp_style_add_data( 'twentyfourteen-ie', 'conditional', 'lt IE 9' );
|
||||
|
||||
if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) {
|
||||
|
|
Loading…
Reference in New Issue