[wp-trac] [WordPress Trac] #39064: Replace `is_super_admin()` checks with `manage_network` cap checks for admin bar permissions
WordPress Trac
noreply at wordpress.org
Sun Dec 4 18:51:14 UTC 2016
#39064: Replace `is_super_admin()` checks with `manage_network` cap checks for
admin bar permissions
-----------------------------+-----------------
Reporter: flixos90 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.8
Component: Role/Capability | Version:
Severity: normal | Keywords:
Focuses: multisite |
-----------------------------+-----------------
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' )`.
See https://core.trac.wordpress.org/ticket/37616#comment:23
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39064>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list