From ad42b71413b478e3002dc27c5543ca705a0a3331 Mon Sep 17 00:00:00 2001 From: Lance Willett Date: Sun, 5 Aug 2012 20:41:20 +0000 Subject: [PATCH] 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 --- wp-content/themes/twentytwelve/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-content/themes/twentytwelve/functions.php b/wp-content/themes/twentytwelve/functions.php index 06d28d63de..b4b9ba45df 100644 --- a/wp-content/themes/twentytwelve/functions.php +++ b/wp-content/themes/twentytwelve/functions.php @@ -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.