From 83351a7243595bfdd2dbf3965cb52f7d808e2a9e Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 23 Jun 2023 19:54:23 +0000 Subject: [PATCH] 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 --- wp-includes/version.php | 2 +- wp-load.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-includes/version.php b/wp-includes/version.php index d4cb4ff47c..c82fa994aa 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.3-alpha-56005'; +$wp_version = '6.3-alpha-56006'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. diff --git a/wp-load.php b/wp-load.php index 32056f1121..fe2f7c3be6 100644 --- a/wp-load.php +++ b/wp-load.php @@ -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';