#47204 closed defect (bug) (duplicate)
Site Health: not showing if DISALLOW_FILE_MODS is set to true
| Reported by: | palmiak | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Site Health | Version: | 5.2 |
| Severity: | normal | Keywords: | site-health |
| Cc: | Focuses: |
Description
Site Health page is not showing if you set "DISALLOW_FILE_MODS" to true (which is quite normal if you are using eg Bedrock - https://roots.io/bedrock/).
After some checking I've found the problem is related to this check:
current_user_can( 'install_plugins' )
I think that we can check for "manage_options" instead.
Attachments (1)
Change History (4)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
a patch for this bug