Make WordPress Core

Ticket #32644: user-new.diff

File user-new.diff, 908 bytes (added by sunnyratilal, 9 years ago)

Update input attributes for wp-admin/user-new.php

  • wp-admin/user-new.php

     
    362362<table class="form-table">
    363363        <tr class="form-field form-required">
    364364                <th scope="row"><label for="user_login"><?php _e('Username'); ?> <span class="description"><?php _e('(required)'); ?></span></label></th>
    365                 <td><input name="user_login" type="text" id="user_login" value="<?php echo esc_attr($new_user_login); ?>" aria-required="true" /></td>
     365                <td><input name="user_login" autocapitalize="none" autocorrect="off" type="text" id="user_login" value="<?php echo esc_attr($new_user_login); ?>" aria-required="true" /></td>
    366366        </tr>
    367367        <tr class="form-field form-required">
    368368                <th scope="row"><label for="email"><?php _e('E-mail'); ?> <span class="description"><?php _e('(required)'); ?></span></label></th>