Make WordPress Core

Ticket #25946: 25946.12.diff

File 25946.12.diff, 1.1 KB (added by kovshenin, 12 years ago)
  • src/wp-content/themes/twentyfourteen/functions.php

     
    228228        wp_enqueue_style( 'twentyfourteen-genericons', get_template_directory_uri() . '/genericons/genericons.css', array(), '3.0.2' );
    229229
    230230        // Load our main stylesheet.
    231         wp_enqueue_style( 'twentyfourteen-style', get_stylesheet_uri() );
     231        wp_enqueue_style( 'twentyfourteen-style', get_stylesheet_uri(), array( 'twentyfourteen-genericons' ) );
    232232
    233233        // Load the Internet Explorer specific stylesheet.
    234         wp_enqueue_style( 'twentyfourteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentyfourteen-style' ), '20131110' );
     234        wp_enqueue_style( 'twentyfourteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentyfourteen-style', 'twentyfourteen-genericons' ), '20131110' );
    235235        wp_style_add_data( 'twentyfourteen-ie', 'conditional', 'lt IE 9' );
    236236
    237237        if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) {