From d220b3fd88879a2442765b8b6aa28f8ba22cb15b Mon Sep 17 00:00:00 2001 From: Lance Willett Date: Tue, 12 Nov 2013 16:47:46 +0000 Subject: [PATCH] Twenty Fourteen: don't load unused font weights. Props iamtakashi, fixes #25922. git-svn-id: https://develop.svn.wordpress.org/trunk@26099 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentyfourteen/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-content/themes/twentyfourteen/functions.php b/src/wp-content/themes/twentyfourteen/functions.php index 4719a21813..16d2111c88 100644 --- a/src/wp-content/themes/twentyfourteen/functions.php +++ b/src/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; }