Twenty Fourteen: remove Genericons as a dependency from loading the main stylesheet and IE-specific stylesheet. See #30532.
git-svn-id: https://develop.svn.wordpress.org/trunk@30866 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a25f807d6e
commit
cb816a383a
@ -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
Block a user