Changeset 7981 for trunk/wp-includes/general-template.php
- Timestamp:
- 05/22/2008 03:27:28 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/general-template.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/general-template.php
r7979 r7981 1159 1159 } 1160 1160 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 */ 1161 1167 function add_thickbox() { 1162 1168 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' ); 1168 1170 } 1169 1171
Note: See TracChangeset
for help on using the changeset viewer.