Make WordPress Core


Ignore:
Timestamp:
07/11/2015 02:34:47 AM (9 years ago)
Author:
jeremyfelt
Message:

Set autocapitalize to none, autocorrect to off for new username inputs on iOS.

This corrects both the standard wp-admin new user form and the network new user form.

Props @brad2dabone, @sunnnyratilal.
Fixes #32644.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/network/user-new.php

    r32974 r33160  
    9090        <tr class="form-field form-required">
    9191            <th scope="row"><label for="username"><?php _e( 'Username' ) ?></label></th>
    92             <td><input type="text" class="regular-text" name="user[username]" id="username" /></td>
     92            <td><input type="text" class="regular-text" name="user[username]" id="username" autocapitalize="none" autocorrect="off" /></td>
    9393        </tr>
    9494        <tr class="form-field form-required">
Note: See TracChangeset for help on using the changeset viewer.