mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-18 04:25:07 +00:00
Twenty Fourteen: Include Latin Extended font subset for Lato.
fixes #29690. Built from https://develop.svn.wordpress.org/trunk@29772 git-svn-id: http://core.svn.wordpress.org/trunk@29544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f35285450a
commit
045a222180
@ -211,7 +211,11 @@ function twentyfourteen_font_url() {
|
|||||||
* by Lato, translate this to 'off'. Do not translate into your own language.
|
* by Lato, translate this to 'off'. Do not translate into your own language.
|
||||||
*/
|
*/
|
||||||
if ( 'off' !== _x( 'on', 'Lato font: on or off', 'twentyfourteen' ) ) {
|
if ( 'off' !== _x( 'on', 'Lato font: on or off', 'twentyfourteen' ) ) {
|
||||||
$font_url = add_query_arg( 'family', urlencode( 'Lato:300,400,700,900,300italic,400italic,700italic' ), "//fonts.googleapis.com/css" );
|
$query_args = array(
|
||||||
|
'family' => urlencode( 'Lato:300,400,700,900,300italic,400italic,700italic' ),
|
||||||
|
'subset' => urlencode( 'latin,latin-ext' ),
|
||||||
|
);
|
||||||
|
$font_url = add_query_arg( $query_args, '//fonts.googleapis.com/css' );
|
||||||
}
|
}
|
||||||
|
|
||||||
return $font_url;
|
return $font_url;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user