WordPress.org

Make WordPress Core

Ticket #13012: ms.php.patch

File ms.php.patch, 494 bytes (added by phlux0r, 5 years ago)

patch fo wp-admin/includes/ms.php

  • wp-admin/includes/ms.php

     
    834834 
    835835        $user = new WP_User( $user_id ); 
    836836        if ( $user->user_email != $admin_email ) { 
     837                $super_admins = get_site_option( 'site_admins', array( 'admin' ) ); 
    837838                foreach ( $super_admins as $key => $username ) { 
    838839                        if ( $username == $user->user_login ) { 
    839840                                unset( $super_admins[$key] );