Make WordPress Core

Ticket #47084: 47084.patch

File 47084.patch, 864 bytes (added by Clorith, 6 years ago)
  • src/wp-admin/includes/class-wp-site-health.php

     
    366366                }
    367367
    368368                // Check if there are inactive plugins.
    369                 if ( $plugins_total > $plugins_active ) {
     369                if ( $plugins_total > $plugins_active && ! is_multisite() ) {
    370370                        $unused_plugins = $plugins_total - $plugins_active;
    371371
    372372                        $result['status'] = 'recommended';
     
    521521                        }
    522522                }
    523523
    524                 if ( $has_unused_themes && $show_unused_themes ) {
     524                if ( $has_unused_themes && $show_unused_themes && ! is_multisite() ) {
    525525
    526526                        // This is a child theme, so we want to be a bit more explicit in our messages.
    527527                        if ( $active_theme->parent() ) {