diff --git a/wp-includes/version.php b/wp-includes/version.php index 93e02af460..230f92f119 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.5-alpha-47564'; +$wp_version = '5.5-alpha-47568'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. diff --git a/wp-settings.php b/wp-settings.php index 663c7d8eb9..77bfeced23 100644 --- a/wp-settings.php +++ b/wp-settings.php @@ -366,12 +366,6 @@ if ( ! is_multisite() ) { wp_recovery_mode()->initialize(); } -// Create an instance of WP_Site_Health so that Cron events may fire. -if ( ! class_exists( 'WP_Site_Health' ) ) { - require_once ABSPATH . 'wp-admin/includes/class-wp-site-health.php'; -} -WP_Site_Health::get_instance(); - // Load active plugins. foreach ( wp_get_active_and_valid_plugins() as $plugin ) { wp_register_plugin_realpath( $plugin ); @@ -524,6 +518,12 @@ unset( $theme ); */ do_action( 'after_setup_theme' ); +// Create an instance of WP_Site_Health so that Cron events may fire. +if ( ! class_exists( 'WP_Site_Health' ) ) { + require_once ABSPATH . 'wp-admin/includes/class-wp-site-health.php'; +} +WP_Site_Health::get_instance(); + // Set up current user. $GLOBALS['wp']->init();