Twenty Fourteen: don't load unused font weights. Props iamtakashi, fixes #25922.

Built from https://develop.svn.wordpress.org/trunk@26099


git-svn-id: http://core.svn.wordpress.org/trunk@26014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Lance Willett 2013-11-12 16:48:09 +00:00
parent 68491fafb3
commit 9a5e81ec88
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ function twentyfourteen_font_url() {
* by Lato, translate this to 'off'. Do not translate into your own language.
*/
if ( 'off' !== _x( 'on', 'Lato font: on or off', 'twentyfourteen' ) )
$font_url = add_query_arg( 'family', urlencode( 'Lato:100,300,400,700,900,100italic,300italic,400italic,700italic,900italic' ), "//fonts.googleapis.com/css" );
$font_url = add_query_arg( 'family', urlencode( 'Lato:300,400,700,900,300italic,400italic,700italic,900italic' ), "//fonts.googleapis.com/css" );
return $font_url;
}