Make WordPress Core

Changeset 37546


Ignore:
Timestamp:
05/24/2016 03:42:36 AM (8 years ago)
Author:
jeremyfelt
Message:

Multisite: Disable autocapitalize and autocorrect for user_name input on signup

Props rafaelangeline.
Fixes #36833.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-signup.php

    r37536 r37546  
    219219        echo '<p class="error">'.$errmsg.'</p>';
    220220    }
    221     echo '<input name="user_name" type="text" id="user_name" value="'. esc_attr($user_name) .'" maxlength="60" /><br />';
     221    echo '<input name="user_name" type="text" id="user_name" value="'. esc_attr( $user_name ) .'" autocapitalize="none" autocorrect="off" maxlength="60" /><br />';
    222222    _e( '(Must be at least 4 characters, letters and numbers only.)' );
    223223    ?>
Note: See TracChangeset for help on using the changeset viewer.