Changeset 7979 for trunk/wp-includes/general-template.php
- Timestamp:
- 05/22/2008 12:06:41 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/general-template.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/general-template.php
r7976 r7979 1139 1139 } 1140 1140 1141 function wp_admin_css( $file = 'wp-admin' ) {1141 function wp_admin_css( $file = 'wp-admin', $force_echo = false ) { 1142 1142 global $wp_styles; 1143 1143 if ( !is_a($wp_styles, 'WP_Styles') ) … … 1147 1147 1148 1148 if ( $wp_styles->query( $handle ) ) { 1149 if ( did_action( 'wp_print_styles' ) ) // we already printed the style queue. Print this one immediately1149 if ( $force_echo || did_action( 'wp_print_styles' ) ) // we already printed the style queue. Print this one immediately 1150 1150 wp_print_styles( $handle ); 1151 1151 else // Add to style queue
Note: See TracChangeset
for help on using the changeset viewer.