Ticket #47119: 47119.diff
| File 47119.diff, 900 bytes (added by , 7 years ago) |
|---|
-
wp-admin/user-edit.php
417 417 ?> 418 418 <tr class="user-super-admin-wrap"><th><?php _e( 'Super Admin' ); ?></th> 419 419 <td> 420 <?php if ( $profileuser->user_email != get_site_option( 'admin_email') || ! is_super_admin( $profileuser->ID ) ) : ?>420 <?php if ( 0 !== strcasecmp( $profileuser->user_email, get_site_option( 'admin_email' ) ) || ! is_super_admin( $profileuser->ID ) ) : ?> 421 421 <p><label><input type="checkbox" id="super_admin" name="super_admin"<?php checked( is_super_admin( $profileuser->ID ) ); ?> /> <?php _e( 'Grant this user super admin privileges for the Network.' ); ?></label></p> 422 422 <?php else : ?> 423 423 <p><?php _e( 'Super admin privileges cannot be removed because this user has the network admin email.' ); ?></p>
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)