Please sign in to comment.
Site health: Introduce `view_site_health_checks` capability.
Introduces the faux primitive capability `view_site_health_checks` available to single site admins and multisite super-admin to view the site health page within the admin. The capability is mapped to the `install_plugins` capability without being dependent on the file system being writable. This fixes a bug where the feature couldn't be used by sites unable to write to the file system or managed through version control. The capability is granted on the `user_has_cap` filter. Props birgire, Clorith, palmiak, peterwilsoncc, spacedmonkey. Merges  to the 5.2 branch. Fixes #46957 for 5.2.2. git-svn-id: https://develop.svn.wordpress.org/branches/5.2@45508 602fd350-edb4-49c9-b593-d223f7449a82
- Loading branch information...
Showing with 188 additions and 159 deletions.
Oops, something went wrong.