Make WordPress Core


Ignore:
Timestamp:
02/16/2026 05:01:33 PM (8 weeks ago)
Author:
joedolson
Message:

Users: Set username, email, and password fields to ltr.

Usernames, email, and password fields are currently rtl in rtl locales. However, these fields are primarily standardized to ltr character sets and for better experience and readability, should be presented left-to-right in all locales.

Fix username, email, and password fields throughout install and admin to be set to ltr text direction.

Props man4toman, sabernhardt, ierwira, agnieszkaszuba, SergeyBiryukov, joyously, hellofromTonya, shibleemehdi, oglekler, audrasjb, sajjad67, huzaifaalmesbah, joedolson.
Fixes #54915.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/template.php

    r61465 r61651  
    494494        <div class="inside">
    495495        <label for="author-email"><?php _e( 'Email' ); ?></label>
    496         <input type="text" name="newcomment_author_email" size="50" value="" id="author-email" />
     496        <input type="text" name="newcomment_author_email" size="50" class="code" value="" id="author-email" />
    497497        </div>
    498498
Note: See TracChangeset for help on using the changeset viewer.