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

git-svn-id: http://svn.automattic.com/wordpress/trunk@10291 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz
2009-01-02 15:08:58 +00:00
parent f5276b5416
commit a750885c8e
84 changed files with 7456 additions and 7375 deletions

View File

@@ -204,6 +204,11 @@ if (defined('WP_DEBUG') and WP_DEBUG == true) {
error_reporting(E_ALL ^ E_NOTICE ^ E_USER_NOTICE);
}
// When this is defined and set to true the non-minified versions of the Javascripts will be used.
// Add define('SCRIPT_DEBUG', false); to wp-config.php to test the minified versions.
if ( !defined('SCRIPT_DEBUG') )
define('SCRIPT_DEBUG', true);
// For an advanced caching plugin to use, static because you would only want one
if ( defined('WP_CACHE') )
@include WP_CONTENT_DIR . '/advanced-cache.php';