Make WordPress Core

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#47027 closed enhancement (duplicate)

Add new capability to view site health

Reported by: spacedmonkey Owned by:
Priority: normal Milestone:
Component: Site Health Version: 5.2
Severity: normal Keywords: needs-patch site-health servehappy
Cc: Focuses:

Description

Currently the site health screen is only viewable if the users has the install_plugins capability. However, if you have disabled DISALLOW_FILE_MODS or you are not a super admin on multisite, you are unable to see the site health. A new capability could be added called view_site_health that maps to install_plugins by default could be added. This would allow developers to add the capability without re-enabling installing plugins.

Attachments (1)

47027.diff​ (2.9 KB ) - added by spacedmonkey 7 years ago.

Download all attachments as: .zip

Change History (9)

This ticket was mentioned in ​Slack in #core-php by spacedmonkey. ​View the logs.


7 years ago

#2 @spacedmonkey
7 years ago

  • Keywords site-health servehappy added; sitehealth removed

#3 @jorbin
7 years ago

  • Milestone Awaiting Review → 5.2

Moving to 5.2 for visibility and discussion as this is a new feature, not as a commitment.

#4 @SergeyBiryukov
7 years ago

  • Component General → Administration

#5 @azaozz
7 years ago

  • Milestone 5.2
  • Resolution → worksforme
  • Status new → closed

Frankly I'm not sure how useful this will be in core. A specific capability can certainly be added by a plugin to cover cases where there are a lot of people administering a (single) site, and the "site admin" role is split up in several "levels". However thinking this is rather rare and leaving it to be implemented by a plugin is sufficient.

Closing as "worksforme" for now. Please feel free to reopen with specific, somewhat common user cases.

@spacedmonkey
7 years ago

#6 @ocean90
7 years ago

  • Resolution worksforme → duplicate

Duplicate of #46957.

#7 @spacedmonkey
7 years ago

Moving the chat on this topic to #46957 where I have re-uploaded the patch.

#8 @spacedmonkey
7 years ago

  • Component Administration → Site Health
Note: See TracTickets for help on using tickets.