WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/06/2012 11:07:41 PM (8 years ago)
Author:
nacin
Message:

Move the wp_enqueue_style() to header.php. see #19978.

File:
1 edited

Legend:

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

    r19842 r19845  
    2424<script src="<?php echo get_template_directory_uri(); ?>/js/html5.js" type="text/javascript"></script>
    2525<![endif]-->
    26 <?php if ( is_singular() && get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' ); ?>
     26<?php
     27if ( is_singular() && get_option( 'thread_comments' ) )
     28    wp_enqueue_script( 'comment-reply' );
     29
     30wp_enqueue_style( 'twentytwelve-style', get_bloginfo( 'stylesheet_url' ) );
     31?>
    2732<?php wp_head(); ?>
    2833</head>
Note: See TracChangeset for help on using the changeset viewer.