Make WordPress Core

Changeset 20009


Ignore:
Timestamp:
02/28/2012 05:19:50 AM (11 years ago)
Author:
lancewillett
Message:

Twenty Twelve: correctly enqueue the fonts CSS file, see #19978.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentytwelve/header.php

    r20007 r20009  
    1818<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
    1919
    20 <!-- Google fonts static for now -->
    21 <link href="http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,400,300,600,700" rel="stylesheet" type="text/css">
    22 
    2320<!--[if lt IE 9]>
    2421<script src="<?php echo get_template_directory_uri(); ?>/js/html5.js" type="text/javascript"></script>
     
    2724if ( is_singular() && comments_open() && get_option( 'thread_comments' ) )
    2825    wp_enqueue_script( 'comment-reply' );
     26
     27wp_enqueue_style( 'fonts', 'http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,400,300,600,700' );
    2928
    3029wp_enqueue_style( 'twentytwelve-style', get_stylesheet_uri() );
Note: See TracChangeset for help on using the changeset viewer.