mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +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:
+1
-1
@@ -29,7 +29,7 @@ require( ABSPATH . WPINC . '/default-constants.php' );
|
||||
global $wp_version, $wp_db_version, $tinymce_version, $required_php_version, $required_mysql_version;
|
||||
require( ABSPATH . WPINC . '/version.php' );
|
||||
|
||||
// Set initial default constants including WP_MEMORY_LIMIT, WP_MAX_MEMORY_LIMIT, WP_DEBUG, WP_CONTENT_DIR and WP_CACHE.
|
||||
// Set initial default constants including WP_MEMORY_LIMIT, WP_MAX_MEMORY_LIMIT, WP_DEBUG, SCRIPT_DEBUG, WP_CONTENT_DIR and WP_CACHE.
|
||||
wp_initial_constants();
|
||||
|
||||
// Check for the required PHP version and for the MySQL extension or a database drop-in.
|
||||
|
||||
Reference in New Issue
Block a user