Changeset 7961 for trunk/wp-includes/general-template.php
- Timestamp:
- 05/20/2008 05:19:33 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/general-template.php
r7959 r7961 1140 1140 $_file = $color->url; 1141 1141 $_file = ('css/colors-rtl' == $file) ? str_replace('.css','-rtl.css',$_file) : $_file; 1142 } elseif ( 'css/thickbox' == $file ) { 1143 $_file = get_option( 'siteurl' ) . "/wp-includes/js/thickbox/thickbox.css"; 1142 1144 } else { 1143 1145 $_file = get_option( 'siteurl' ) . "/wp-admin/$file.css"; … … 1156 1158 echo apply_filters( 'wp_admin_css', "<link rel='stylesheet' href='" . wp_admin_css_uri( $rtl ) . "' type='text/css' />\n", $rtl ); 1157 1159 } 1160 } 1161 1162 function add_thickbox() { 1163 wp_enqueue_script( 'thickbox' ); 1164 add_action( 'admin_print_scripts', 'add_thickbox_css' ); 1165 } 1166 1167 function add_thickbox_css() { 1168 wp_admin_css( 'css/thickbox' ); 1158 1169 } 1159 1170
Note: See TracChangeset
for help on using the changeset viewer.