diff --git a/src/wp-settings.php b/src/wp-settings.php
index 663c7d8eb9..77bfeced23 100644
a
|
b
|
|
366 | 366 | wp_recovery_mode()->initialize(); |
367 | 367 | } |
368 | 368 | |
369 | | // Create an instance of WP_Site_Health so that Cron events may fire. |
370 | | if ( ! class_exists( 'WP_Site_Health' ) ) { |
371 | | require_once ABSPATH . 'wp-admin/includes/class-wp-site-health.php'; |
372 | | } |
373 | | WP_Site_Health::get_instance(); |
374 | | |
375 | 369 | // Load active plugins. |
376 | 370 | foreach ( wp_get_active_and_valid_plugins() as $plugin ) { |
377 | 371 | wp_register_plugin_realpath( $plugin ); |
… |
… |
|
524 | 518 | */ |
525 | 519 | do_action( 'after_setup_theme' ); |
526 | 520 | |
| 521 | // Create an instance of WP_Site_Health so that Cron events may fire. |
| 522 | if ( ! class_exists( 'WP_Site_Health' ) ) { |
| 523 | require_once ABSPATH . 'wp-admin/includes/class-wp-site-health.php'; |
| 524 | } |
| 525 | WP_Site_Health::get_instance(); |
| 526 | |
527 | 527 | // Set up current user. |
528 | 528 | $GLOBALS['wp']->init(); |
529 | 529 | |