WordPress.org

Make WordPress Core

Opened 2 years ago

#41673 new enhancement

Abstract update capability logic into a meta capability

Reported by: johnbillion Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.9
Component: Users Keywords: needs-patch needs-unit-tests
Focuses: Cc:
PR Number:

Description

From 4:ticket:41538

There are three places in core now which use logic to determine whether a user has any one of the update_* capabilities. This should be abstracted into a meta capability such as manage_updates.

Change History (0)

Note: See TracTickets for help on using tickets.