Make WordPress Core


Ignore:
Timestamp:
05/22/2008 03:27:28 PM (18 years ago)
Author:
ryan
Message:

Use style loader for gears manifest. Props azaozz. fixes #7015

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/general-template.php

    r7979 r7981  
    11591159}
    11601160
     1161/**
     1162 * Enqueues the default ThickBox js and css.
     1163 * If any of the settings need to be changed, this can be done with another js file
     1164 * similar to media-upload.js and theme-preview.js. That file should require array('thickbox')
     1165 * to ensure it is loaded after.
     1166 */
    11611167function add_thickbox() {
    11621168    wp_enqueue_script( 'thickbox' );
    1163     add_action( 'admin_print_scripts', 'add_thickbox_css' );
    1164 }
    1165 
    1166 function add_thickbox_css() {
    1167     wp_admin_css( 'css/thickbox' );
     1169    wp_enqueue_style( 'thickbox' );
    11681170}
    11691171
Note: See TracChangeset for help on using the changeset viewer.