#47204 closed defect (bug) (duplicate)
Site Health: not showing if DISALLOW_FILE_MODS is set to true
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 5.2 |
Component: | Site Health | Keywords: | site-health |
Focuses: | Cc: |
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.
a patch for this bug