Opened 8 years ago
Closed 8 years ago
#39064 closed enhancement (fixed)
Replace `is_super_admin()` checks with `manage_network` cap checks for admin bar permissions
Reported by: | flixos90 | Owned by: | flixos90 |
---|---|---|---|
Milestone: | 4.8 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Role/Capability | Keywords: | has-patch |
Focuses: | multisite | Cc: |
Description
This is part of the #37616 task. There are 4 is_super_admin()
checks in wp-includes/admin-bar.php
that should be replaced with current_user_can( 'manage_network' )
.
Attachments (1)
Change History (5)
#2
@
8 years ago
- Owner set to flixos90
- Status changed from new to assigned
Thanks for the patch @iaaxpage - looking good! :)
Note: See
TracTickets for help on using
tickets.
Replaced is_super_admin with current_user_can( 'manage_network' )