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
This commit is contained in:
parent
4b63213b62
commit
d220b3fd88
@ -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
Block a user