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-admin/network/site-info.php

    r60805 r61651  
    176176        <tr class="form-field">
    177177            <th scope="row"><?php _e( 'Site Address (URL)' ); ?></th>
    178             <td><?php echo esc_url( $parsed_scheme . '://' . $details->domain . $details->path ); ?></td>
     178            <td><code><?php echo esc_url( $parsed_scheme . '://' . $details->domain . $details->path ); ?></code></td>
    179179        </tr>
    180180            <?php
     
    184184        <tr class="form-field form-required">
    185185            <th scope="row"><label for="url"><?php _e( 'Site Address (URL)' ); ?></label></th>
    186             <td><input name="blog[url]" type="text" id="url" value="<?php echo $parsed_scheme . '://' . esc_attr( $details->domain ) . esc_attr( $details->path ); ?>" /></td>
     186            <td><input name="blog[url]" type="url" id="url" value="<?php echo $parsed_scheme . '://' . esc_attr( $details->domain ) . esc_attr( $details->path ); ?>" /></td>
    187187        </tr>
    188188        <?php endif; ?>
Note: See TracChangeset for help on using the changeset viewer.