Changeset 14042
- Timestamp:
- 04/09/2010 07:17:42 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/ms.php
r14040 r14042 832 832 833 833 $admin_email = get_site_option( 'admin_email' ); 834 $super_admins = get_site_option( 'site_admins', array( 'admin' ) ); 834 835 835 836 $user = new WP_User( $user_id ); … … 838 839 if ( $username == $user->user_login ) { 839 840 unset( $super_admins[$key] ); 841 update_site_option( 'site_admins' , $super_admins ); 840 842 do_action( 'revoked_super_admin', $user_id ); 841 843 break; … … 843 845 } 844 846 } 845 846 update_site_option( 'site_admins' , $super_admins );847 847 } 848 848 ?>
Note: See TracChangeset
for help on using the changeset viewer.