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
This commit is contained in:
parent
8ca85d7072
commit
80a938e3a5
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue