Make WordPress Core

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#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)

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

Download all attachments as: .zip

Change History (4)

@palmiak
7 years ago

a patch for this bug

#1 @TimothyBlynJacobs
7 years ago

  • Milestone Awaiting Review
  • Resolutionduplicate
  • Status newclosed

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

#2 @SergeyBiryukov
7 years ago

  • Component GeneralAdministration
  • Keywords site-health added

#3 @spacedmonkey
7 years ago

  • Component AdministrationSite Health
Note: See TracTickets for help on using tickets.