Load the minified versions of the scripts by default, define('SCRIPT_DEBUG', true); can be used to load the development versions

git-svn-id: https://develop.svn.wordpress.org/trunk@10443 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2009-01-26 13:24:44 +00:00
parent 4d58681aa4
commit 1f6ba467ca
2 changed files with 1 additions and 6 deletions
-5
View File
@@ -210,11 +210,6 @@ 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';