Bootstrap/Load: Require wp-includes/compat.php in wp-load.php.
This allows for using polyfill functions if the site is not installed yet. Follow-up to [28978], [55988]. Props joedolson, dd32. See #58206. Built from https://develop.svn.wordpress.org/trunk@56006 git-svn-id: http://core.svn.wordpress.org/trunk@55518 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -64,6 +64,7 @@ if ( file_exists( ABSPATH . 'wp-config.php' ) ) {
|
||||
// Standardize $_SERVER variables across setups.
|
||||
wp_fix_server_vars();
|
||||
|
||||
require_once ABSPATH . WPINC . '/compat.php';
|
||||
require_once ABSPATH . WPINC . '/functions.php';
|
||||
|
||||
$path = wp_guess_url() . '/wp-admin/setup-config.php';
|
||||
|
||||
Reference in New Issue
Block a user