WordPress.org

Make WordPress Core

Changeset 26099


Ignore:
Timestamp:
11/12/2013 04:47:46 PM (8 years ago)
Author:
lancewillett
Message:

Twenty Fourteen: don't load unused font weights. Props iamtakashi, fixes #25922.

File:
1 edited

Legend:

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

    r26097 r26099  
    205205     */
    206206    if ( 'off' !== _x( 'on', 'Lato font: on or off', 'twentyfourteen' ) )
    207         $font_url = add_query_arg( 'family', urlencode( 'Lato:100,300,400,700,900,100italic,300italic,400italic,700italic,900italic' ), "//fonts.googleapis.com/css" );
     207        $font_url = add_query_arg( 'family', urlencode( 'Lato:300,400,700,900,300italic,400italic,700italic,900italic' ), "//fonts.googleapis.com/css" );
    208208
    209209    return $font_url;
Note: See TracChangeset for help on using the changeset viewer.