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

Built from https://develop.svn.wordpress.org/trunk@26146


git-svn-id: http://core.svn.wordpress.org/trunk@26057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Helen Hou-Sandí 2013-11-13 23:59:08 +00:00
parent 1e74886e46
commit 94dfe504f3

View File

@ -2107,7 +2107,7 @@ function wp_admin_css_color( $key, $name, $url, $colors = array(), $icons = arra
* @since 3.0.0
*/
function register_admin_color_schemes() {
$suffix = SCRIPT_DEBUG ? '' : '.min';
$suffix = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min';
wp_admin_css_color( 'fresh', _x( 'Default', 'admin color scheme' ),
admin_url( "css/colors-fresh$suffix.css" ),