Twenty Fourteen: fix stylesheet loading, broken in r26560.
Built from https://develop.svn.wordpress.org/trunk@26565 git-svn-id: http://core.svn.wordpress.org/trunk@26456 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -237,10 +237,10 @@ function twentyfourteen_scripts() {
|
||||
wp_enqueue_style( 'genericons', get_template_directory_uri() . '/genericons/genericons.css', array(), '3.0.2' );
|
||||
|
||||
// Load our main stylesheet.
|
||||
wp_enqueue_style( 'twentyfourteen-style', get_stylesheet_uri(), array( 'twentyfourteen-genericons' ) );
|
||||
wp_enqueue_style( 'twentyfourteen-style', get_stylesheet_uri(), array( 'genericons' ) );
|
||||
|
||||
// Load the Internet Explorer specific stylesheet.
|
||||
wp_enqueue_style( 'twentyfourteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentyfourteen-style', 'twentyfourteen-genericons' ), '20131110' );
|
||||
wp_enqueue_style( 'twentyfourteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentyfourteen-style', 'genericons' ), '20131110' );
|
||||
wp_style_add_data( 'twentyfourteen-ie', 'conditional', 'lt IE 9' );
|
||||
|
||||
if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) {
|
||||
|
||||
Reference in New Issue
Block a user