Make WordPress Core

Ticket #32118: 32118.diff

File 32118.diff, 558 bytes (added by Craig Ralston, 9 years ago)

define SCRIPT_DEBUG in wp_initial_constants()

  • wp-includes/default-constants.php

     
    6868        if ( !defined('WP_DEBUG_LOG') )
    6969                define('WP_DEBUG_LOG', false);
    7070
     71    // Add define('SCRIPT_DEBUG', true); to wp-config.php to use dev versions of core JS and CSS files
     72    if ( !defined('SCRIPT_DEBUG') )
     73        define( 'SCRIPT_DEBUG', false );
     74
    7175        if ( !defined('WP_CACHE') )
    7276                define('WP_CACHE', false);
    7377