Make WordPress Core


Ignore:
Timestamp:
06/25/2015 02:28:50 AM (9 years ago)
Author:
azaozz
Message:

Define SCRIPT_DEBUG early on every load, similarly to WP_DEBUG. Remove defined( 'SCRIPT_DEBUG' ) checks.
Fixes #32333.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/general-template.php

    r32882 r32935  
    28422842function register_admin_color_schemes() {
    28432843    $suffix = is_rtl() ? '-rtl' : '';
    2844     $suffix .= defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
     2844    $suffix .= SCRIPT_DEBUG ? '' : '.min';
    28452845
    28462846    wp_admin_css_color( 'fresh', _x( 'Default', 'admin color scheme' ),
Note: See TracChangeset for help on using the changeset viewer.