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
d2e2ba54b1
commit
cf619d2520
@ -112,7 +112,7 @@ function twentytwelve_scripts_styles() {
|
|||||||
*/
|
*/
|
||||||
$options = $twentytwelve_options->get_theme_options();
|
$options = $twentytwelve_options->get_theme_options();
|
||||||
if ( $options['enable_fonts'] )
|
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.
|
* Load our main CSS file.
|
||||||
|
Loading…
Reference in New Issue
Block a user