Changeset 47569 for branches/5.4
- Timestamp:
- 04/10/2020 03:57:12 AM (5 years ago)
- Location:
- branches/5.4
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.4
-
branches/5.4/src/wp-settings.php
r47250 r47569 366 366 } 367 367 368 // Create an instance of WP_Site_Health so that Cron events may fire.369 if ( ! class_exists( 'WP_Site_Health' ) ) {370 require_once ABSPATH . 'wp-admin/includes/class-wp-site-health.php';371 }372 WP_Site_Health::get_instance();373 374 368 // Load active plugins. 375 369 foreach ( wp_get_active_and_valid_plugins() as $plugin ) { … … 524 518 do_action( 'after_setup_theme' ); 525 519 520 // Create an instance of WP_Site_Health so that Cron events may fire. 521 if ( ! class_exists( 'WP_Site_Health' ) ) { 522 require_once ABSPATH . 'wp-admin/includes/class-wp-site-health.php'; 523 } 524 WP_Site_Health::get_instance(); 525 526 526 // Set up current user. 527 527 $GLOBALS['wp']->init();
Note: See TracChangeset
for help on using the changeset viewer.