Make WordPress Core

Ticket #49257: 47093.patch

File 47093.patch, 963 bytes (added by kinjaldalwadi, 4 years ago)

wp-admin/user-edit.php file

  • user-edit.php

     
    404404<table class="form-table" role="presentation">
    405405        <tr class="user-user-login-wrap">
    406406                <th><label for="user_login"><?php _e( 'Username' ); ?></label></th>
    407                 <td><input type="text" name="user_login" id="user_login" value="<?php echo esc_attr( $profileuser->user_login ); ?>" disabled="disabled" class="regular-text" /> <span class="description"><?php _e( 'Usernames cannot be changed.' ); ?></span></td>
     407                <td><input type="text" name="user_login" id="user_login" value="<?php echo esc_attr( $profileuser->user_login ); ?>" disabled="disabled" class="regular-text" /> <span class="description"><?php _e( 'Username cannot be changed.' ); ?></span></td>
    408408        </tr>
    409409
    410410                <?php if ( ! IS_PROFILE_PAGE && ! is_network_admin() && current_user_can( 'promote_user', $profileuser->ID ) ) : ?>