mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
Bootstrap/Load: Require wp-includes/compat.php
earlier in wp-settings.php
.
This allows for using polyfill functions in more files, including the `advanced-cache.php` drop-in. Follow-up to [6108], [46183], [55988], [55990], [56006]. See #58206. Built from https://develop.svn.wordpress.org/trunk@56007 git-svn-id: http://core.svn.wordpress.org/trunk@55519 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
83351a7243
commit
41361625fa
@ -16,7 +16,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.3-alpha-56006';
|
||||
$wp_version = '6.3-alpha-56007';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
@ -37,6 +37,7 @@ require ABSPATH . WPINC . '/load.php';
|
||||
wp_check_php_mysql_versions();
|
||||
|
||||
// Include files required for initialization.
|
||||
require ABSPATH . WPINC . '/compat.php';
|
||||
require ABSPATH . WPINC . '/class-wp-paused-extensions-storage.php';
|
||||
require ABSPATH . WPINC . '/class-wp-fatal-error-handler.php';
|
||||
require ABSPATH . WPINC . '/class-wp-recovery-mode-cookie-service.php';
|
||||
@ -104,7 +105,6 @@ if ( WP_CACHE && apply_filters( 'enable_loading_advanced_cache_dropin', true ) &
|
||||
wp_set_lang_dir();
|
||||
|
||||
// Load early WordPress files.
|
||||
require ABSPATH . WPINC . '/compat.php';
|
||||
require ABSPATH . WPINC . '/class-wp-list-util.php';
|
||||
require ABSPATH . WPINC . '/formatting.php';
|
||||
require ABSPATH . WPINC . '/meta.php';
|
||||
|
Loading…
Reference in New Issue
Block a user