WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/06/2012 11:07:41 PM (6 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/functions.php

    r19844 r19845  
    6767}
    6868endif;
    69 
    70 /**
    71  * Enqueues the theme's stylesheet.
    72  *
    73  * The wp_enqueue_scripts hook is meant for both styles and scripts, and only
    74  * fires on the frontend.
    75  *
    76  * @since Twenty Twelve 1.0
    77  */
    78 function twentytwelve_enqueue_scripts() {
    79     wp_enqueue_style( 'twentytwelve-style', get_bloginfo( 'stylesheet_url' ) );
    80 }
    81 add_action( 'wp_enqueue_scripts', 'twentytwelve_enqueue_scripts' );
    8269
    8370/**
Note: See TracChangeset for help on using the changeset viewer.