Make WordPress Core


Ignore:
Timestamp:
01/02/2009 03:08:58 PM (17 years ago)
Author:
azaozz
Message:

Minify all js and add the non-minified files as .dev.js

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-settings.php

    r10286 r10291  
    204204    error_reporting(E_ALL ^ E_NOTICE ^ E_USER_NOTICE);
    205205}
     206
     207// When this is defined and set to true the non-minified versions of the Javascripts will be used.
     208// Add define('SCRIPT_DEBUG', false); to wp-config.php to test the minified versions.
     209if ( !defined('SCRIPT_DEBUG') )
     210    define('SCRIPT_DEBUG', true);
    206211
    207212// For an advanced caching plugin to use, static because you would only want one
Note: See TracChangeset for help on using the changeset viewer.