WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/12/2020 01:31:49 PM (3 months ago)
Author:
SergeyBiryukov
Message:

Site Health: Introduce Site Health Status dashboard widget.

The widget informs administrators of any potential issues that should be addressed to improve the performance or security of their website, and directs them to the Site Health screen for more details.

Props Clorith, hedgefield, guddu1315.
See #47606.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-settings.php

    r47018 r47063  
    352352}
    353353
     354// Create an instance of WP_Site_Health so that Cron events may fire.
     355if ( ! class_exists( 'WP_Site_Health' ) ) {
     356    require_once( ABSPATH . 'wp-admin/includes/class-wp-site-health.php' );
     357}
     358WP_Site_Health::initialize();
     359
    354360// Load active plugins.
    355361foreach ( wp_get_active_and_valid_plugins() as $plugin ) {
Note: See TracChangeset for help on using the changeset viewer.