Make WordPress Core


Ignore:
Timestamp:
02/16/2026 05:01:33 PM (2 months 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-includes/media-template.php

    r61597 r61651  
    548548                <span class="setting" data-setting="url">
    549549                    <label for="attachment-details-two-column-copy-link" class="name"><?php _e( 'File URL:' ); ?></label>
    550                     <input type="text" class="attachment-details-copy-link" id="attachment-details-two-column-copy-link" value="{{ data.url }}" readonly />
     550                    <input type="text" class="attachment-details-copy-link ltr" id="attachment-details-two-column-copy-link" value="{{ data.url }}" readonly />
    551551                    <span class="copy-to-clipboard-container">
    552552                        <button type="button" class="button button-small copy-attachment-url" data-clipboard-target="#attachment-details-two-column-copy-link"><?php _e( 'Copy URL to clipboard' ); ?></button>
     
    800800        <span class="setting" data-setting="url">
    801801            <label for="attachment-details-copy-link" class="name"><?php _e( 'File URL:' ); ?></label>
    802             <input type="text" class="attachment-details-copy-link" id="attachment-details-copy-link" value="{{ data.url }}" readonly />
     802            <input type="text" class="attachment-details-copy-link ltr" id="attachment-details-copy-link" value="{{ data.url }}" readonly />
    803803            <div class="copy-to-clipboard-container">
    804804                <button type="button" class="button button-small copy-attachment-url" data-clipboard-target="#attachment-details-copy-link"><?php _e( 'Copy URL to clipboard' ); ?></button>
Note: See TracChangeset for help on using the changeset viewer.