mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user