Test if the REST API is accessible.
WP_Site_Health::__construct
WP_Site_Health constructor.
WP_Site_Health::get_instance
Return an instance of the WP_Site_Health class, or create one if none exist yet.
WP_Site_Health::enqueue_scripts
Enqueues the site health scripts.
Advertisement
WP_Site_Health::perform_test
Run a Site Health test directly.
WP_Site_Health::prepare_sql_data
Run the SQL version checks.
WP_Site_Health::admin_body_class
Add a class to the body HTML tag.
WP_Site_Health::wp_schedule_test_init
Initiate the WP_Cron schedule test cases.
Advertisement
WP_Site_Health::get_cron_tasks
Populate our list of cron events and store them to a class-wide variable.
WP_Site_Health::has_missed_cron
Check if any scheduled tasks have been missed.
WP_Site_Health::has_late_cron
Check if any scheduled tasks are late.
WP_Site_Health::can_perform_loopback
Run a loopback test on our site.
Advertisement
WP_Site_Health::maybe_create_scheduled_event
Create a weekly cron event, if one does not already exist.
WP_Site_Health::wp_cron_scheduled_check
Run our scheduled event to check and update the latest site health status for the website.
WP_Site_Health::get_test_background_updates
Test if WordPress can run automated background updates.