WordPress.org

Make WordPress Core

Changeset 48468


Ignore:
Timestamp:
07/14/2020 11:15:28 AM (2 months ago)
Author:
SergeyBiryukov
Message:

Privacy: Set the direction for the "Username or email address" field on privacy screens to LTR.

This is consistent with other email inputs across the admin.

Follow-up to [27743], [42967].

Props man4toman, sushyant.
Fixes #50625.

Location:
trunk/src/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/erase-personal-data.php

    r47198 r48468  
    6363        <div class="wp-privacy-request-form-field">
    6464            <label for="username_or_email_for_privacy_request"><?php esc_html_e( 'Username or email address' ); ?></label>
    65             <input type="text" required class="regular-text" id="username_or_email_for_privacy_request" name="username_or_email_for_privacy_request" />
     65            <input type="text" required class="regular-text ltr" id="username_or_email_for_privacy_request" name="username_or_email_for_privacy_request" />
    6666            <?php submit_button( __( 'Send Request' ), 'secondary', 'submit', false ); ?>
    6767        </div>
  • trunk/src/wp-admin/export-personal-data.php

    r47198 r48468  
    6363        <div class="wp-privacy-request-form-field">
    6464            <label for="username_or_email_for_privacy_request"><?php esc_html_e( 'Username or email address' ); ?></label>
    65             <input type="text" required class="regular-text" id="username_or_email_for_privacy_request" name="username_or_email_for_privacy_request" />
     65            <input type="text" required class="regular-text ltr" id="username_or_email_for_privacy_request" name="username_or_email_for_privacy_request" />
    6666            <?php submit_button( __( 'Send Request' ), 'secondary', 'submit', false ); ?>
    6767        </div>
Note: See TracChangeset for help on using the changeset viewer.