Make WordPress Core

Changeset 21275


Ignore:
Timestamp:
07/18/2012 04:26:40 PM (13 years ago)
Author:
lancewillett
Message:

Twenty Twelve: proper namespace for two script/style handles in functions.php, props obenland. Fixes #21230.

File:
1 edited

Legend:

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

    r21267 r21275  
    104104     * styles for small screen sizes.
    105105     */
    106     wp_enqueue_script( 'navigation', get_template_directory_uri() . '/js/theme.js', array( 'jquery' ), '20130320', true );
     106    wp_enqueue_script( 'twentytwelve-navigation', get_template_directory_uri() . '/js/theme.js', array( 'jquery' ), '20130320', true );
    107107
    108108    /**
     
    112112    $options = $twentytwelve_options->get_theme_options();
    113113    if ( $options['enable_fonts'] )
    114         wp_enqueue_style( 'fonts', 'http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700' );
     114        wp_enqueue_style( 'twentytwelve-fonts', 'http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700' );
    115115
    116116    /**
Note: See TracChangeset for help on using the changeset viewer.