WordPress.org

Make WordPress Core

Ticket #17978: patch.diff

File patch.diff, 793 bytes (added by waclawjacek, 3 years ago)

Patch to the bug. Removes the <label> tag.

  • wp-admin/user-edit.php

     
    260260<?php endif; //!IS_PROFILE_PAGE 
    261261 
    262262if ( is_multisite() && is_network_admin() && ! IS_PROFILE_PAGE && current_user_can( 'manage_network_options' ) && !isset($super_admins) ) { ?> 
    263 <tr><th><label for="role"><?php _e('Super Admin'); ?></label></th> 
     263<tr><th><?php _e('Super Admin'); ?></th> 
    264264<td> 
    265265<?php if ( $profileuser->user_email != get_site_option( 'admin_email' ) ) : ?> 
    266266<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>