Opened 10 years ago
Closed 10 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 |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.8 |
| Component: | Role/Capability | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: | multisite |
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
@
10 years ago
- Owner set to
- Status new → assigned
Thanks for the patch @iaaxpage - looking good! :)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Replaced is_super_admin with current_user_can( 'manage_network' )