[wp-trac] [WordPress Trac] #41673: Abstract update capability logic into a meta capability
WordPress Trac
noreply at wordpress.org
Sat Aug 19 12:50:16 UTC 2017
#41673: Abstract update capability logic into a meta capability
-------------------------+------------------------------------------
Reporter: johnbillion | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Users | Version: trunk
Severity: normal | Keywords: needs-patch needs-unit-tests
Focuses: |
-------------------------+------------------------------------------
From [comment: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`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41673>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list