Site Health: Incorrect file path in `require_once`.

Ensure that background updater can be loaded for testing to see if auto-updates can enable automatic updates.

Fixes #50793.
Props dd32.

Built from https://develop.svn.wordpress.org/trunk@48655


git-svn-id: http://core.svn.wordpress.org/trunk@48417 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
whyisjake 2020-07-28 02:21:06 +00:00
parent db175a9868
commit 26b706e27f
2 changed files with 2 additions and 2 deletions

View File

@ -167,7 +167,7 @@ class WP_Site_Health_Auto_Updates {
*/
public function test_wp_automatic_updates_disabled() {
if ( ! class_exists( 'WP_Automatic_Updater' ) ) {
require_once ABSPATH . 'wp-admin/includes/class-wp-automatic-updates.php';
require_once ABSPATH . 'wp-admin/includes/class-wp-automatic-updater.php';
}
$auto_updates = new WP_Automatic_Updater();

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.5-beta4-48654';
$wp_version = '5.5-beta4-48655';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.