Make WordPress Core

Changeset 48655


Ignore:
Timestamp:
07/28/2020 02:19:17 AM (4 years ago)
Author:
whyisjake
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-site-health-auto-updates.php

    r48586 r48655  
    168168    public function test_wp_automatic_updates_disabled() {
    169169        if ( ! class_exists( 'WP_Automatic_Updater' ) ) {
    170             require_once ABSPATH . 'wp-admin/includes/class-wp-automatic-updates.php';
     170            require_once ABSPATH . 'wp-admin/includes/class-wp-automatic-updater.php';
    171171        }
    172172
Note: See TracChangeset for help on using the changeset viewer.