WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 5 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.

Change History (1)

comment:1 @wpmuguru5 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [13301]) multisite UX, see #11644, add manage_ caps for super_admin, fixes #11803

Note: See TracTickets for help on using tickets.