Changeset 27228
- Timestamp:
- 02/21/2014 09:08:37 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/script-loader.php
r27204 r27228 579 579 // Register a stylesheet for the selected admin color scheme. 580 580 $colors_url = false; 581 // It's possible this is run before admin_init, so we need to make sure color schemes are registered. 582 if ( is_admin() && empty( $GLOBALS['_wp_admin_css_colors'] ) && ! did_action( 'admin_init' ) && has_action( 'admin_init', 'register_admin_color_schemes' ) ) { 583 register_admin_color_schemes(); 584 remove_action( 'admin_init', 'register_admin_color_schemes', 1 ); 585 } 581 586 if ( ! empty( $GLOBALS['_wp_admin_css_colors'] ) ) { 582 587 $color = get_user_option( 'admin_color' );
Note: See TracChangeset
for help on using the changeset viewer.