Make WordPress Core


Ignore:
Timestamp:
04/18/2019 12:33:03 AM (8 years ago)
Author:
azaozz
Message:

Site Health info tab: Remove the "Directories and Sizes" section on Multisite installations. Most of the info shown there doesn't apply for multisite.

Props xkon, desrosj, azaozz.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/ajax-actions.php

    r45220 r45239  
    49684968        check_ajax_referer( 'health-check-site-status-result' );
    49694969
    4970         if ( ! current_user_can( 'install_plugins' ) ) {
     4970        if ( ! current_user_can( 'install_plugins' ) || is_multisite() ) {
    49714971                wp_send_json_error();
    49724972        }
Note: See TracChangeset for help on using the changeset viewer.