Make WordPress Core

Changeset 25417


Ignore:
Timestamp:
09/12/2013 09:44:49 PM (10 years ago)
Author:
lancewillett
Message:

Twenty Fourteen: prefix Genericons enqueue handle so that the theme uses the its own version of the font CSS. Fixes a few display issues when plugins like Jetpack enqueue a different version of Genericons. See #25085.

File:
1 edited

Legend:

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

    r25406 r25417  
    207207
    208208    // Add Genericons font, used in the main stylesheet.
    209     wp_enqueue_style( 'genericons', get_template_directory_uri() . '/fonts/genericons.css', array(), '2.09' );
     209    wp_enqueue_style( 'twentyfourteen-genericons', get_template_directory_uri() . '/fonts/genericons.css', array(), '2.09' );
    210210
    211211    // Loads our main stylesheet.
Note: See TracChangeset for help on using the changeset viewer.