mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-16 23:00:21 +00:00
Define SCRIPT_DEBUG early on every load, similarly to WP_DEBUG. Remove defined( 'SCRIPT_DEBUG' ) checks.
Fixes #32333. git-svn-id: https://develop.svn.wordpress.org/trunk@32935 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -2841,7 +2841,7 @@ function wp_admin_css_color( $key, $name, $url, $colors = array(), $icons = arra
|
||||
*/
|
||||
function register_admin_color_schemes() {
|
||||
$suffix = is_rtl() ? '-rtl' : '';
|
||||
$suffix .= defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
|
||||
$suffix .= SCRIPT_DEBUG ? '' : '.min';
|
||||
|
||||
wp_admin_css_color( 'fresh', _x( 'Default', 'admin color scheme' ),
|
||||
false,
|
||||
|
||||
Reference in New Issue
Block a user