Make WordPress Core

Ticket #30532: 30532.1.diff

File 30532.1.diff, 775 bytes (added by iamtakashi, 10 years ago)

Remove Genericon from the main stylesheet dependency.

  • src/wp-content/themes/twentyfifteen/functions.php

     
    206206        wp_enqueue_style( 'genericons', get_template_directory_uri() . '/genericons/genericons.css', array(), '3.2' );
    207207
    208208        // Load our main stylesheet.
    209         wp_enqueue_style( 'twentyfifteen-style', get_stylesheet_uri(), array( 'genericons' ) );
     209        wp_enqueue_style( 'twentyfifteen-style', get_stylesheet_uri() );
    210210
    211211        // Load the Internet Explorer specific stylesheet.
    212212        wp_enqueue_style( 'twentyfifteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentyfifteen-style' ), '20141010' );