diff --git a/wp-admin/setup-config.php b/wp-admin/setup-config.php index 62b9086d1c..244cdc45d7 100644 --- a/wp-admin/setup-config.php +++ b/wp-admin/setup-config.php @@ -40,6 +40,7 @@ define('WP_DEBUG', false); /**#@-*/ require_once(ABSPATH . WPINC . '/load.php'); +require_once(ABSPATH . WPINC . '/compat.php'); require_once(ABSPATH . WPINC . '/functions.php'); require_once(ABSPATH . WPINC . '/class-wp-error.php'); require_once(ABSPATH . WPINC . '/version.php'); diff --git a/wp-settings.php b/wp-settings.php index 63cb9d39a7..5cb2838481 100644 --- a/wp-settings.php +++ b/wp-settings.php @@ -63,6 +63,7 @@ if ( WP_CACHE ) wp_set_lang_dir(); // Load early WordPress files. +require( ABSPATH . WPINC . '/compat.php' ); require( ABSPATH . WPINC . '/functions.php' ); require( ABSPATH . WPINC . '/class-wp.php' ); require( ABSPATH . WPINC . '/class-wp-error.php' );