Changeset 47568
- Timestamp:
- 04/10/2020 03:55:08 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-settings.php
r47552 r47568 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 ) { … … 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();
Note: See TracChangeset
for help on using the changeset viewer.