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.

git-svn-id: https://develop.svn.wordpress.org/trunk@48468 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2020-07-14 11:15:28 +00:00
parent a128b52eb0
commit 63ad9247c1
2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
<div class="wp-privacy-request-form-field"> <div class="wp-privacy-request-form-field">
<label for="username_or_email_for_privacy_request"><?php esc_html_e( 'Username or email address' ); ?></label> <label for="username_or_email_for_privacy_request"><?php esc_html_e( 'Username or email address' ); ?></label>
<input type="text" required class="regular-text" id="username_or_email_for_privacy_request" name="username_or_email_for_privacy_request" /> <input type="text" required class="regular-text ltr" id="username_or_email_for_privacy_request" name="username_or_email_for_privacy_request" />
<?php submit_button( __( 'Send Request' ), 'secondary', 'submit', false ); ?> <?php submit_button( __( 'Send Request' ), 'secondary', 'submit', false ); ?>
</div> </div>
<?php wp_nonce_field( 'personal-data-request' ); ?> <?php wp_nonce_field( 'personal-data-request' ); ?>

View File

@ -62,7 +62,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
<div class="wp-privacy-request-form-field"> <div class="wp-privacy-request-form-field">
<label for="username_or_email_for_privacy_request"><?php esc_html_e( 'Username or email address' ); ?></label> <label for="username_or_email_for_privacy_request"><?php esc_html_e( 'Username or email address' ); ?></label>
<input type="text" required class="regular-text" id="username_or_email_for_privacy_request" name="username_or_email_for_privacy_request" /> <input type="text" required class="regular-text ltr" id="username_or_email_for_privacy_request" name="username_or_email_for_privacy_request" />
<?php submit_button( __( 'Send Request' ), 'secondary', 'submit', false ); ?> <?php submit_button( __( 'Send Request' ), 'secondary', 'submit', false ); ?>
</div> </div>
<?php wp_nonce_field( 'personal-data-request' ); ?> <?php wp_nonce_field( 'personal-data-request' ); ?>