WordPress.org

Make WordPress Core

Ticket #47606: 47606.3.diff

File 47606.3.diff, 762 bytes (added by xkon, 8 months ago)
  • src/wp-admin/includes/class-wp-site-health.php

    diff --git a/src/wp-admin/includes/class-wp-site-health.php b/src/wp-admin/includes/class-wp-site-health.php
    index bbf38dce62..0cef897b1e 100644
    a b class WP_Site_Health { 
    3333        public function __construct() {
    3434                $this->maybe_create_scheduled_event();
    3535
    36                 $this->prepare_sql_data();
    37 
    3836                $this->timeout_late_cron   = 0;
    3937                $this->timeout_missed_cron = - 5 * MINUTE_IN_SECONDS;
    4038
    class WP_Site_Health { 
    10951093         * @return array The test results.
    10961094         */
    10971095        public function get_test_sql_server() {
     1096                $this->prepare_sql_data();
     1097
    10981098                $result = array(
    10991099                        'label'       => __( 'SQL server is up to date' ),
    11001100                        'status'      => 'good',