Make WordPress Core

Ticket #30532: 30532.patch

File 30532.patch, 1.0 KB (added by ocean90, 10 years ago)
  • src/wp-content/themes/twentyfifteen/functions.php

     
    213213        wp_enqueue_style( 'genericons', get_template_directory_uri() . '/genericons/genericons.css', array(), '3.2' );
    214214
    215215        // Load our main stylesheet.
    216         wp_enqueue_style( 'twentyfifteen-style', get_stylesheet_uri() );
     216        wp_enqueue_style( 'twentyfifteen-style', get_stylesheet_uri(), array( 'twentyfifteen-fonts', 'genericons' ) );
    217217
    218218        // Load the Internet Explorer specific stylesheet.
    219         wp_enqueue_style( 'twentyfifteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentyfifteen-style', 'genericons' ), '20141010' );
     219        wp_enqueue_style( 'twentyfifteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentyfifteen-style' ), '20141010' );
    220220        wp_style_add_data( 'twentyfifteen-ie', 'conditional', 'lt IE 9' );
    221221
    222222        // Load the Internet Explorer 7 specific stylesheet.