WordPress.org

Make WordPress Core

Changeset 26146


Ignore:
Timestamp:
11/13/2013 11:58:32 PM (6 years ago)
Author:
helen
Message:

Avoid a notice when SCRIPT_DEBUG is not defined. props MikeHansenMe. see #25824, #25858.

File:
1 edited

Legend:

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

    r26137 r26146  
    21082108 */
    21092109function register_admin_color_schemes() {
    2110     $suffix = SCRIPT_DEBUG ? '' : '.min';
     2110    $suffix = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min';
    21112111
    21122112    wp_admin_css_color( 'fresh', _x( 'Default', 'admin color scheme' ),
Note: See TracChangeset for help on using the changeset viewer.