From cf619d2520390e3598f325becd658e8e9e1f1725 Mon Sep 17 00:00:00 2001 From: lancewillett 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: http://core.svn.wordpress.org/trunk@21428 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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.