WordPress.org

Make WordPress Core

Changeset 29772


Ignore:
Timestamp:
09/27/2014 10:15:25 AM (7 years ago)
Author:
SergeyBiryukov
Message:

Twenty Fourteen: Include Latin Extended font subset for Lato.

fixes #29690.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfourteen/functions.php

    r29100 r29772  
    212212     */
    213213    if ( 'off' !== _x( 'on', 'Lato font: on or off', 'twentyfourteen' ) ) {
    214         $font_url = add_query_arg( 'family', urlencode( 'Lato:300,400,700,900,300italic,400italic,700italic' ), "//fonts.googleapis.com/css" );
     214        $query_args = array(
     215            'family' => urlencode( 'Lato:300,400,700,900,300italic,400italic,700italic' ),
     216            'subset' => urlencode( 'latin,latin-ext' ),
     217        );
     218        $font_url = add_query_arg( $query_args, '//fonts.googleapis.com/css' );
    215219    }
    216220
Note: See TracChangeset for help on using the changeset viewer.