WordPress.org

Make WordPress Core

Changeset 21428


Ignore:
Timestamp:
08/05/2012 08:41:20 PM (6 years ago)
Author:
lancewillett
Message:

Twenty Twelve: set version to null to force no stylesheet version number when loading third-party CSS for Google Fonts. Props drewstrojny and obenland.

File:
1 edited

Legend:

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

    r21411 r21428  
    113113    $options = $twentytwelve_options->get_theme_options();
    114114    if ( $options['enable_fonts'] )
    115         wp_enqueue_style( 'twentytwelve-fonts', $twentytwelve_options->custom_fonts_url() );
     115        wp_enqueue_style( 'twentytwelve-fonts', $twentytwelve_options->custom_fonts_url(), array(), null );
    116116
    117117    /**
Note: See TracChangeset for help on using the changeset viewer.