Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#47204 closed defect (bug) (duplicate)

Site Health: not showing if DISALLOW_FILE_MODS is set to true

Reported by: palmiak's profile palmiak Owned by:
Milestone: Priority: normal
Severity: normal Version: 5.2
Component: Site Health Keywords: site-health
Focuses: Cc:


Site Health page is not showing if you set "DISALLOW_FILE_MODS" to true (which is quite normal if you are using eg 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)

47204.diff (7.8 KB) - added by palmiak 5 years ago.
a patch for this bug

Download all attachments as: .zip

Change History (4)

5 years ago

a patch for this bug

#1 @TimothyBlynJacobs
5 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Thank you for the report @palmiak, this is being tracked in #46957

#2 @SergeyBiryukov
5 years ago

  • Component changed from General to Administration
  • Keywords site-health added

#3 @spacedmonkey
5 years ago

  • Component changed from Administration to Site Health
Note: See TracTickets for help on using tickets.