Opened 15 years ago
Closed 15 years ago
#11803 closed defect (bug) (fixed)
create a manage_sites cap for super admins
Reported by: | Denis-de-Bernardy | Owned by: | |
---|---|---|---|
Milestone: | 3.0 | Priority: | normal |
Severity: | normal | Version: | 3.0 |
Component: | Users | Keywords: | |
Focuses: | multisite | Cc: |
Description
Per discussion in IRC and #11644, we create a manage_sites cap.
current_user_can(manage_sites) initially returns is_super_admin(). This improves code readability and opens the door for future enhancements in a fully transparent manner.
Note: See
TracTickets for help on using
tickets.
(In [13301]) multisite UX, see #11644, add manage_ caps for super_admin, fixes #11803