WordPress.org

Make WordPress Core

Ticket #47606: 47606.2.patch

File 47606.2.patch, 666 bytes (added by Clorith, 7 months ago)
  • src/wp-admin/includes/dashboard.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    4343        }
    4444
    4545        // Site Health.
    46         if ( current_user_can( 'view_site_health_checks' ) ) {
     46        if ( current_user_can( 'view_site_health_checks' ) && ! is_network_admin() ) {
    4747                if ( ! class_exists( 'WP_Site_Health' ) ) {
    4848                        require_once ABSPATH . 'wp-admin/includes/class-wp-site-health.php';
    4949                }