[wp-trac] [WordPress Trac] #39205: Replace is_super_admin() check with current_user_can( 'upgrade_database' )
WordPress Trac
noreply at wordpress.org
Fri Dec 9 13:46:42 UTC 2016
#39205: Replace is_super_admin() check with current_user_can( 'upgrade_database' )
---------------------------------------+-----------------------------
Reporter: dhanendran | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Role/Capability | Version:
Severity: normal | Keywords:
Focuses: administration, multisite |
---------------------------------------+-----------------------------
This is part of the
[https://core.trac.wordpress.org/ticket/37616#comment:26 #37616] task.
There is an `is_super_admin()` check which needs to be replaced with
`current_user_can( 'upgrade_database' )` in `wp-admin/includes/ms.php`
(line 776)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39205>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list