mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Introduce get_super_admins(). Allow hard-coding a global super_admins array and bypassing site options. fixes #12815
git-svn-id: https://develop.svn.wordpress.org/trunk@14206 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -199,7 +199,7 @@ if ( isset( $_GET['updated'] ) && $_GET['updated'] == 'true' && ! empty( $_GET['
|
||||
<tbody id="the-user-list" class="list:user">
|
||||
<?php if ( $user_list ) {
|
||||
$class = '';
|
||||
$super_admins = get_site_option( 'site_admins' );
|
||||
$super_admins = get_super_admins();
|
||||
foreach ( (array) $user_list as $user ) {
|
||||
$class = ( 'alternate' == $class ) ? '' : 'alternate';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user