WordPress.org

Make WordPress Core

Changeset 30692


Ignore:
Timestamp:
12/01/2014 07:40:12 PM (5 years ago)
Author:
iandstewart
Message:

Twenty Fifteen: correct stylesheet dependencies.

Props ocean90, fixes #30532.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfifteen/functions.php

    r30588 r30692  
    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
Note: See TracChangeset for help on using the changeset viewer.