From 9a5e81ec8818aba13b78a4c1a9cefd7be34189a6 Mon Sep 17 00:00:00 2001 From: Lance Willett Date: Tue, 12 Nov 2013 16:48:09 +0000 Subject: [PATCH] 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 --- wp-content/themes/twentyfourteen/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-content/themes/twentyfourteen/functions.php b/wp-content/themes/twentyfourteen/functions.php index 4719a21813..16d2111c88 100644 --- a/wp-content/themes/twentyfourteen/functions.php +++ b/wp-content/themes/twentyfourteen/functions.php @@ -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; }