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

git-svn-id: https://develop.svn.wordpress.org/trunk@21428 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Lance Willett 2012-08-05 20:41:20 +00:00
parent c8338c0056
commit ad42b71413
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ function twentytwelve_scripts_styles() {
*/
$options = $twentytwelve_options->get_theme_options();
if ( $options['enable_fonts'] )
wp_enqueue_style( 'twentytwelve-fonts', $twentytwelve_options->custom_fonts_url() );
wp_enqueue_style( 'twentytwelve-fonts', $twentytwelve_options->custom_fonts_url(), array(), null );
/**
* Load our main CSS file.