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:
parent
68491fafb3
commit
9a5e81ec88
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue