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/media.php

    r61597 r61651  
    33633363    <div class="misc-pub-section misc-pub-attachment">
    33643364        <label for="attachment_url"><?php _e( 'File URL:' ); ?></label>
    3365         <input type="text" class="widefat urlfield" readonly="readonly" name="attachment_url" id="attachment_url" value="<?php echo esc_attr( $att_url ); ?>" />
     3365        <input type="text" class="widefat urlfield ltr" readonly="readonly" name="attachment_url" id="attachment_url" value="<?php echo esc_attr( $att_url ); ?>" />
    33663366        <span class="copy-to-clipboard-container">
    33673367            <button type="button" class="button copy-attachment-url edit-media" data-clipboard-target="#attachment_url"><?php _e( 'Copy URL to clipboard' ); ?></button>
Note: See TracChangeset for help on using the changeset viewer.