WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/28/2019 02:30:12 PM (8 months ago)
Author:
SergeyBiryukov
Message:

Site Health: Correct wp_version_check() existence verification by performing a request to the Site Health page instead of Dashboard.

Props Clorith, audrasjb.
Fixes #46616.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-site-health.php

    r44986 r45049  
    2828    public function __construct() {
    2929        $this->prepare_sql_data();
    30 
    31         add_action( 'wp_loaded', array( $this, 'check_wp_version_check_exists' ) );
    3230
    3331        add_filter( 'admin_body_class', array( $this, 'admin_body_class' ) );
Note: See TracChangeset for help on using the changeset viewer.