Changeset 27232 for trunk/src/wp-includes/script-loader.php
- Timestamp:
- 02/22/2014 01:58:45 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/script-loader.php
r27228 r27232 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 }586 581 if ( ! empty( $GLOBALS['_wp_admin_css_colors'] ) ) { 587 582 $color = get_user_option( 'admin_color' );
Note: See TracChangeset
for help on using the changeset viewer.