Make WordPress Core


Ignore:
Timestamp:
02/22/2014 01:58:45 AM (10 years ago)
Author:
SergeyBiryukov
Message:

Revert [27228], as it doesn't work with SCRIPT_DEBUG off.

see #27175.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/script-loader.php

    r27228 r27232  
    579579    // Register a stylesheet for the selected admin color scheme.
    580580    $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     }
    586581    if ( ! empty( $GLOBALS['_wp_admin_css_colors'] ) ) {
    587582        $color = get_user_option( 'admin_color' );
Note: See TracChangeset for help on using the changeset viewer.