Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
ab8fd45
Twenty Nineteen: assign max-width for linked images
sabernhardt Feb 17, 2022
ff93227
Merge branch 'WordPress:trunk' into trunk
sabernhardt Feb 18, 2022
4427cf2
Merge branch 'WordPress:trunk' into trunk
sabernhardt Mar 18, 2022
8a9b93e
Twenty Nineteen: override flex order
sabernhardt Mar 18, 2022
f52d6a5
Merge branch 'WordPress:trunk' into trunk
sabernhardt Mar 18, 2022
db6156f
Merge branch 'WordPress:trunk' into trunk
sabernhardt Mar 21, 2022
840cb7a
Restoring print styles and correcting HTML comment
sabernhardt Mar 21, 2022
e4f5d12
Include RTL stylesheet
sabernhardt Mar 21, 2022
286b066
Merge branch 'WordPress:trunk' into trunk
sabernhardt Mar 23, 2022
7b3310a
Merge branch 'WordPress:trunk' into trunk
sabernhardt Mar 25, 2022
a1c0ec0
Twenty Nineteen styles: spaces instead of tab
sabernhardt Mar 28, 2022
464e5e2
Merge branch 'WordPress:trunk' into trunk
sabernhardt Mar 28, 2022
4669a40
Merge branch 'WordPress:trunk' into trunk
sabernhardt Apr 2, 2022
9fcccd8
Merge branch 'WordPress:trunk' into trunk
sabernhardt Apr 4, 2022
ab76146
Merge branch 'WordPress:trunk' into trunk
sabernhardt Apr 5, 2022
8a3010c
Merge branch 'WordPress:trunk' into trunk
sabernhardt Apr 7, 2022
bf14b64
Merge branch 'WordPress:trunk' into trunk
sabernhardt Apr 11, 2022
cea701a
Merge branch 'WordPress:trunk' into trunk
sabernhardt Jun 12, 2022
b9de99b
Merge branch 'WordPress:trunk' into trunk
sabernhardt Jun 17, 2022
774a0ae
Merge branch 'WordPress:trunk' into trunk
sabernhardt Jul 7, 2022
5d49607
Merge branch 'WordPress:trunk' into trunk
sabernhardt Jul 17, 2022
010b6ea
Merge branch 'WordPress:trunk' into trunk
sabernhardt Jul 19, 2022
4c5a039
Merge branch 'WordPress:trunk' into trunk
sabernhardt Jul 23, 2022
ec9da42
Merge branch 'trunk' of https://github.com/sabernhardt/wordpress-deve…
sabernhardt Jul 30, 2022
3781f22
Merge branch 'WordPress:trunk' into trunk
sabernhardt Aug 2, 2022
8392541
Merge branch 'WordPress:trunk' into trunk
sabernhardt Aug 13, 2022
80beca8
Merge branch 'WordPress:trunk' into trunk
sabernhardt Aug 18, 2022
4435105
Merge branch 'WordPress:trunk' into trunk
sabernhardt Sep 4, 2022
56e5314
Merge branch 'WordPress:trunk' into trunk
sabernhardt Sep 5, 2022
62e72b3
Merge branch 'WordPress:trunk' into trunk
sabernhardt Sep 14, 2022
cdba6cb
Merge branch 'WordPress:trunk' into trunk
sabernhardt Sep 15, 2022
2e74c21
Merge branch 'WordPress:trunk' into trunk
sabernhardt Sep 16, 2022
4685842
Merge branch 'WordPress:trunk' into trunk
sabernhardt Sep 16, 2022
4810596
Merge branch 'WordPress:trunk' into trunk
sabernhardt Sep 21, 2022
15795b2
Merge branch 'WordPress:trunk' into trunk
sabernhardt Sep 26, 2022
2640434
Merge branch 'WordPress:trunk' into trunk
sabernhardt Oct 17, 2022
7686376
Merge branch 'WordPress:trunk' into trunk
sabernhardt Nov 20, 2022
3e72a74
Merge branch 'WordPress:trunk' into trunk
sabernhardt Dec 17, 2022
2bdb6fa
Merge branch 'WordPress:trunk' into trunk
sabernhardt Jan 12, 2023
c324934
Changes from 54915.1.diff
sabernhardt Jan 12, 2023
4946207
post password fields
sabernhardt Jan 12, 2023
4ac9d7d
Media URLs in text inputs
sabernhardt Jan 12, 2023
9994bdc
Add inline styles to `wp_login_form`
sabernhardt Jan 12, 2023
824c70c
Merge branch 'WordPress:trunk' into trunk
sabernhardt Jan 23, 2023
9dc9a6c
Merge branch 'trunk' into 54915-rtl-inputs
sabernhardt Jan 23, 2023
9b96dce
Site settings pages (multisite)
sabernhardt Jan 23, 2023
1010aa0
Move password visibility to right side of login password
sabernhardt Jan 23, 2023
17e03e3
Removing class from Install screen, where it's redundant
sabernhardt Jan 26, 2023
ded0653
Remove class from another Install screen field
sabernhardt Jan 26, 2023
6ad2984
Merge branch 'trunk' into 54915-rtl-inputs
sabernhardt Jan 27, 2023
e8831ce
Merge branch 'trunk' into 54915-rtl-inputs
sabernhardt Jun 26, 2023
2520eb7
Merge branch 'WordPress:trunk' into 54915-rtl-inputs
sabernhardt Jul 1, 2023
da68b1b
Merge branch 'WordPress:trunk' into 54915-rtl-inputs
sabernhardt Jul 3, 2023
c9b7b21
Merge branch 'trunk' into 54915-rtl-inputs
sabernhardt Jan 17, 2025
2d3326f
Merge branch 'WordPress:trunk' into 54915-rtl-inputs
sabernhardt Nov 4, 2025
5c9ea6e
Merge branch 'trunk' into 54915-rtl-inputs
sabernhardt Jan 30, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/wp-activate.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ function wpmu_activate_stylesheet() {
.wp-activate-container { width: 90%; margin: 0 auto; }
.wp-activate-container form { margin-top: 2em; }
#submit, #key { width: 100%; font-size: 24px; box-sizing: border-box; }
#key { direction: ltr; }
#language { margin-top: 0.5em; }
.wp-activate-container .error { background: #f66; color: #333; }
span.h3 { padding: 0 8px; font-size: 1.3em; font-weight: 600; }
Expand Down
2 changes: 2 additions & 0 deletions src/wp-admin/css/forms.css
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ textarea:focus {
}

/* rtl:ignore */
.ltr,
input[type="password"],
input[type="email"],
input[type="url"] {
direction: ltr;
Expand Down
2 changes: 2 additions & 0 deletions src/wp-admin/css/login.css
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ p {
margin-bottom: 15px;
}

/* rtl:ignore */
.login .button.wp-hide-pw {
background: transparent;
border: 1px solid transparent;
Expand Down Expand Up @@ -355,6 +356,7 @@ p {
font-family: Consolas, Monaco, monospace;
}

/* rtl:ignore */
.js.login input.password-input {
padding-right: 2.5rem;
}
Expand Down
2 changes: 1 addition & 1 deletion src/wp-admin/edit-form-comment.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
<tr>
<td class="first"><label for="email"><?php _e( 'Email' ); ?></label></td>
<td>
<input type="text" name="newcomment_author_email" size="30" value="<?php echo esc_attr( $comment->comment_author_email ); ?>" id="email" />
<input type="text" name="newcomment_author_email" size="30" class="code" value="<?php echo esc_attr( $comment->comment_author_email ); ?>" id="email" />
</td>
</tr>
<tr>
Expand Down
2 changes: 1 addition & 1 deletion src/wp-admin/includes/class-wp-posts-list-table.php
Original file line number Diff line number Diff line change
Expand Up @@ -1781,7 +1781,7 @@ public function inline_edit() {
<div class="inline-edit-group wp-clearfix">
<label class="alignleft">
<span class="title"><?php _e( 'Password' ); ?></span>
<span class="input-text-wrap"><input type="text" name="post_password" class="inline-edit-password-input" value="" /></span>
<span class="input-text-wrap"><input type="text" name="post_password" class="inline-edit-password-input ltr" value="" /></span>
</label>

<span class="alignleft inline-edit-or">
Expand Down
2 changes: 1 addition & 1 deletion src/wp-admin/includes/media.php
Original file line number Diff line number Diff line change
Expand Up @@ -3360,7 +3360,7 @@ function attachment_submitbox_metadata() {

<div class="misc-pub-section misc-pub-attachment">
<label for="attachment_url"><?php _e( 'File URL:' ); ?></label>
<input type="text" class="widefat urlfield" readonly="readonly" name="attachment_url" id="attachment_url" value="<?php echo esc_attr( $att_url ); ?>" />
<input type="text" class="widefat urlfield ltr" readonly="readonly" name="attachment_url" id="attachment_url" value="<?php echo esc_attr( $att_url ); ?>" />
<span class="copy-to-clipboard-container">
<button type="button" class="button copy-attachment-url edit-media" data-clipboard-target="#attachment_url"><?php _e( 'Copy URL to clipboard' ); ?></button>
<span class="success hidden" aria-hidden="true"><?php _e( 'Copied!' ); ?></span>
Expand Down
2 changes: 1 addition & 1 deletion src/wp-admin/includes/meta-boxes.php
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ function post_submit_meta_box( $post, $args = array() ) {
<?php endif; ?>

<input type="radio" name="visibility" id="visibility-radio-password" value="password" <?php checked( $visibility, 'password' ); ?> /> <label for="visibility-radio-password" class="selectit"><?php _e( 'Password protected' ); ?></label><br />
<span id="password-span"><label for="post_password"><?php _e( 'Password:' ); ?></label> <input type="text" name="post_password" id="post_password" value="<?php echo esc_attr( $post->post_password ); ?>" maxlength="255" /><br /></span>
<span id="password-span"><label for="post_password"><?php _e( 'Password:' ); ?></label> <input type="text" name="post_password" id="post_password" class="ltr" value="<?php echo esc_attr( $post->post_password ); ?>" maxlength="255" /><br /></span>

<input type="radio" name="visibility" id="visibility-radio-private" value="private" <?php checked( $visibility, 'private' ); ?> /> <label for="visibility-radio-private" class="selectit"><?php _e( 'Private' ); ?></label><br />

Expand Down
2 changes: 1 addition & 1 deletion src/wp-admin/includes/template.php
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ function wp_comment_reply( $position = 1, $checkbox = false, $mode = 'single', $

<div class="inside">
<label for="author-email"><?php _e( 'Email' ); ?></label>
<input type="text" name="newcomment_author_email" size="50" value="" id="author-email" />
<input type="text" name="newcomment_author_email" size="50" class="code" value="" id="author-email" />
</div>

<div class="inside">
Expand Down
4 changes: 2 additions & 2 deletions src/wp-admin/network/site-info.php
Original file line number Diff line number Diff line change
Expand Up @@ -175,15 +175,15 @@
?>
<tr class="form-field">
<th scope="row"><?php _e( 'Site Address (URL)' ); ?></th>
<td><?php echo esc_url( $parsed_scheme . '://' . $details->domain . $details->path ); ?></td>
<td><code><?php echo esc_url( $parsed_scheme . '://' . $details->domain . $details->path ); ?></code></td>
</tr>
<?php
// For any other site, the scheme, domain, and path can all be changed.
else :
?>
<tr class="form-field form-required">
<th scope="row"><label for="url"><?php _e( 'Site Address (URL)' ); ?></label></th>
<td><input name="blog[url]" type="text" id="url" value="<?php echo $parsed_scheme . '://' . esc_attr( $details->domain ) . esc_attr( $details->path ); ?>" /></td>
<td><input name="blog[url]" type="url" id="url" value="<?php echo $parsed_scheme . '://' . esc_attr( $details->domain ) . esc_attr( $details->path ); ?>" /></td>
</tr>
<?php endif; ?>

Expand Down
19 changes: 19 additions & 0 deletions src/wp-admin/network/site-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,25 @@
}
}

$ltr_fields = array(
'siteurl',
'home',
'admin_email',
'new_admin_email',
'mailserver_url',
'mailserver_login',
'mailserver_pass',
'ping_sites',
'permalink_structure',
'category_base',
'tag_base',
'upload_path',
'upload_url_path',
);
if ( in_array( $option->option_name, $ltr_fields, true ) ) {
$class .= ' ltr';
}

if ( str_contains( $option->option_value, "\n" ) ) {
?>
<tr class="form-field">
Expand Down
4 changes: 2 additions & 2 deletions src/wp-admin/network/site-users.php
Original file line number Diff line number Diff line change
Expand Up @@ -376,11 +376,11 @@
<table class="form-table" role="presentation">
<tr>
<th scope="row"><label for="user_username"><?php _e( 'Username' ); ?></label></th>
<td><input type="text" class="regular-text" name="user[username]" id="user_username" /></td>
<td><input type="text" class="regular-text ltr" name="user[username]" id="user_username" /></td>
</tr>
<tr>
<th scope="row"><label for="user_email"><?php _e( 'Email' ); ?></label></th>
<td><input type="text" class="regular-text" name="user[email]" id="user_email" /></td>
<td><input type="text" class="regular-text ltr" name="user[email]" id="user_email" /></td>
</tr>
<tr>
<th scope="row"><label for="new_role_newuser"><?php _e( 'Role' ); ?></label></th>
Expand Down
6 changes: 3 additions & 3 deletions src/wp-admin/user-edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@
<table class="form-table" role="presentation">
<tr class="user-user-login-wrap">
<th><label for="user_login"><?php _e( 'Username' ); ?></label></th>
<td><input type="text" name="user_login" id="user_login" value="<?php echo esc_attr( $profile_user->user_login ); ?>" readonly="readonly" class="regular-text" /> <span class="description"><?php _e( 'Usernames cannot be changed.' ); ?></span></td>
<td><input type="text" name="user_login" id="user_login" value="<?php echo esc_attr( $profile_user->user_login ); ?>" readonly="readonly" class="regular-text ltr" /> <span class="description"><?php _e( 'Usernames cannot be changed.' ); ?></span></td>
</tr>

<?php if ( ! IS_PROFILE_PAGE && ! is_network_admin() && current_user_can( 'promote_user', $profile_user->ID ) ) : ?>
Expand Down Expand Up @@ -692,7 +692,7 @@
<button type="button" class="button wp-generate-pw hide-if-no-js" aria-expanded="false"><?php _e( 'Set New Password' ); ?></button>
<div class="wp-pwd hide-if-js">
<div class="password-input-wrapper">
<input type="password" name="pass1" id="pass1" class="regular-text" value="" autocomplete="new-password" spellcheck="false" data-pw="<?php echo esc_attr( wp_generate_password( 24 ) ); ?>" aria-describedby="pass-strength-result" />
<input type="password" name="pass1" id="pass1" class="regular-text ltr" value="" autocomplete="new-password" spellcheck="false" data-pw="<?php echo esc_attr( wp_generate_password( 24 ) ); ?>" aria-describedby="pass-strength-result" />
<div style="display:none" id="pass-strength-result" aria-live="polite"></div>
</div>
<button type="button" class="button wp-hide-pw hide-if-no-js" data-toggle="0" aria-label="<?php esc_attr_e( 'Hide password' ); ?>">
Expand Down Expand Up @@ -833,7 +833,7 @@
<div class="create-application-password form-wrap">
<div class="form-field">
<label for="new_application_password_name"><?php _e( 'New Application Password Name' ); ?></label>
<input type="text" size="30" id="new_application_password_name" name="new_application_password_name" class="input" aria-required="true" aria-describedby="new_application_password_name_desc" spellcheck="false" />
<input type="text" size="30" id="new_application_password_name" name="new_application_password_name" class="input ltr" aria-required="true" aria-describedby="new_application_password_name_desc" spellcheck="false" />
<p class="description" id="new_application_password_name_desc"><?php _e( 'Required to create an Application Password, but not to update the user.' ); ?></p>
</div>

Expand Down
4 changes: 2 additions & 2 deletions src/wp-admin/user-new.php
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@
<table class="form-table" role="presentation">
<tr class="form-field form-required">
<th scope="row"><label for="user_login"><?php _e( 'Username' ); ?> <span class="description"><?php _e( '(required)' ); ?></span></label></th>
<td><input name="user_login" type="text" id="user_login" value="<?php echo esc_attr( $new_user_login ); ?>" aria-required="true" autocapitalize="none" autocorrect="off" autocomplete="off" maxlength="60" /></td>
<td><input name="user_login" type="text" id="user_login" class="ltr" value="<?php echo esc_attr( $new_user_login ); ?>" aria-required="true" autocapitalize="none" autocorrect="off" autocomplete="off" maxlength="60" /></td>
</tr>
<tr class="form-field form-required">
<th scope="row"><label for="email"><?php _e( 'Email' ); ?> <span class="description"><?php _e( '(required)' ); ?></span></label></th>
Expand Down Expand Up @@ -600,7 +600,7 @@
<div class="wp-pwd">
<?php $initial_password = wp_generate_password( 24 ); ?>
<div class="password-input-wrapper">
<input type="password" name="pass1" id="pass1" class="regular-text" autocomplete="new-password" spellcheck="false" data-reveal="1" data-pw="<?php echo esc_attr( $initial_password ); ?>" aria-describedby="pass-strength-result" />
<input type="password" name="pass1" id="pass1" class="regular-text ltr" autocomplete="new-password" spellcheck="false" data-reveal="1" data-pw="<?php echo esc_attr( $initial_password ); ?>" aria-describedby="pass-strength-result" />
<div style="display:none" id="pass-strength-result" aria-live="polite"></div>
</div>
<button type="button" class="button wp-hide-pw hide-if-no-js" data-toggle="0" aria-label="<?php esc_attr_e( 'Hide password' ); ?>">
Expand Down
12 changes: 8 additions & 4 deletions src/wp-includes/general-template.php
Original file line number Diff line number Diff line change
Expand Up @@ -593,6 +593,8 @@ function wp_login_form( $args = array() ) {
*/
$login_form_bottom = apply_filters( 'login_form_bottom', '', $args );

$direction_style = is_rtl() ? ' style="direction: ltr;"' : '';

$form =
sprintf(
'<form name="%1$s" id="%1$s" action="%2$s" method="post">',
Expand All @@ -603,21 +605,23 @@ function wp_login_form( $args = array() ) {
sprintf(
'<p class="login-username">
<label for="%1$s">%2$s</label>
<input type="text" name="log" id="%1$s" autocomplete="username" class="input" value="%3$s" size="20"%4$s />
<input type="text" name="log" id="%1$s" autocomplete="username" class="input" value="%3$s" size="20"%4$s%5$s />
</p>',
esc_attr( $args['id_username'] ),
esc_html( $args['label_username'] ),
esc_attr( $args['value_username'] ),
( $args['required_username'] ? ' required="required"' : '' )
( $args['required_username'] ? ' required="required"' : '' ),
$direction_style
) .
sprintf(
'<p class="login-password">
<label for="%1$s">%2$s</label>
<input type="password" name="pwd" id="%1$s" autocomplete="current-password" spellcheck="false" class="input" value="" size="20"%3$s />
<input type="password" name="pwd" id="%1$s" autocomplete="current-password" spellcheck="false" class="input" value="" size="20"%3$s%4$s />
</p>',
esc_attr( $args['id_password'] ),
esc_html( $args['label_password'] ),
( $args['required_password'] ? ' required="required"' : '' )
( $args['required_password'] ? ' required="required"' : '' ),
$direction_style
) .
$login_form_middle .
( $args['remember'] ?
Expand Down
4 changes: 2 additions & 2 deletions src/wp-includes/media-template.php
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ function wp_print_media_templates() {
</span>
<span class="setting" data-setting="url">
<label for="attachment-details-two-column-copy-link" class="name"><?php _e( 'File URL:' ); ?></label>
<input type="text" class="attachment-details-copy-link" id="attachment-details-two-column-copy-link" value="{{ data.url }}" readonly />
<input type="text" class="attachment-details-copy-link ltr" id="attachment-details-two-column-copy-link" value="{{ data.url }}" readonly />
<span class="copy-to-clipboard-container">
<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>
<span class="success hidden" aria-hidden="true"><?php _e( 'Copied!' ); ?></span>
Expand Down Expand Up @@ -799,7 +799,7 @@ function wp_print_media_templates() {
</span>
<span class="setting" data-setting="url">
<label for="attachment-details-copy-link" class="name"><?php _e( 'File URL:' ); ?></label>
<input type="text" class="attachment-details-copy-link" id="attachment-details-copy-link" value="{{ data.url }}" readonly />
<input type="text" class="attachment-details-copy-link ltr" id="attachment-details-copy-link" value="{{ data.url }}" readonly />
<div class="copy-to-clipboard-container">
<button type="button" class="button button-small copy-attachment-url" data-clipboard-target="#attachment-details-copy-link"><?php _e( 'Copy URL to clipboard' ); ?></button>
<span class="success hidden" aria-hidden="true"><?php _e( 'Copied!' ); ?></span>
Expand Down
10 changes: 5 additions & 5 deletions src/wp-login.php
Original file line number Diff line number Diff line change
Expand Up @@ -897,7 +897,7 @@ function wp_login_viewport_meta() {
<form name="lostpasswordform" id="lostpasswordform" action="<?php echo esc_url( network_site_url( 'wp-login.php?action=lostpassword', 'login_post' ) ); ?>" method="post">
<p>
<label for="user_login"><?php _e( 'Username or Email Address' ); ?></label>
<input type="text" name="user_login" id="user_login" class="input" value="<?php echo esc_attr( $user_login ); ?>" size="20" autocapitalize="off" autocomplete="username" required="required" />
<input type="text" name="user_login" id="user_login" class="input ltr" value="<?php echo esc_attr( $user_login ); ?>" size="20" autocapitalize="off" autocomplete="username" required="required" />
</p>
<?php

Expand Down Expand Up @@ -1040,7 +1040,7 @@ function wp_login_viewport_meta() {
</p>

<div class="wp-pwd">
<input type="password" name="pass1" id="pass1" class="input password-input" size="24" value="" autocomplete="new-password" spellcheck="false" data-reveal="1" data-pw="<?php echo esc_attr( wp_generate_password( 16 ) ); ?>" aria-describedby="pass-strength-result" />
<input type="password" name="pass1" id="pass1" class="input password-input ltr" size="24" value="" autocomplete="new-password" spellcheck="false" data-reveal="1" data-pw="<?php echo esc_attr( wp_generate_password( 16 ) ); ?>" aria-describedby="pass-strength-result" />

<button type="button" class="button button-secondary wp-hide-pw hide-if-no-js" data-toggle="0" aria-label="<?php esc_attr_e( 'Hide password' ); ?>">
<span class="dashicons dashicons-hidden" aria-hidden="true"></span>
Expand Down Expand Up @@ -1168,7 +1168,7 @@ function wp_login_viewport_meta() {
<form name="registerform" id="registerform" action="<?php echo esc_url( site_url( 'wp-login.php?action=register', 'login_post' ) ); ?>" method="post" novalidate="novalidate">
<p>
<label for="user_login"><?php _e( 'Username' ); ?></label>
<input type="text" name="user_login" id="user_login" class="input" value="<?php echo esc_attr( $user_login ); ?>" size="20" autocapitalize="off" autocomplete="username" required="required" />
<input type="text" name="user_login" id="user_login" class="input ltr" value="<?php echo esc_attr( $user_login ); ?>" size="20" autocapitalize="off" autocomplete="username" required="required" />
</p>
<p>
<label for="user_email"><?php _e( 'Email' ); ?></label>
Expand Down Expand Up @@ -1512,13 +1512,13 @@ function wp_login_viewport_meta() {
<form name="loginform" id="loginform" action="<?php echo esc_url( site_url( 'wp-login.php', 'login_post' ) ); ?>" method="post">
<p>
<label for="user_login"><?php _e( 'Username or Email Address' ); ?></label>
<input type="text" name="log" id="user_login"<?php echo $aria_describedby; ?> class="input" value="<?php echo esc_attr( $user_login ); ?>" size="20" autocapitalize="off" autocomplete="username" required="required" />
<input type="text" name="log" id="user_login"<?php echo $aria_describedby; ?> class="input ltr" value="<?php echo esc_attr( $user_login ); ?>" size="20" autocapitalize="off" autocomplete="username" required="required" />
</p>

<div class="user-pass-wrap">
<label for="user_pass"><?php _e( 'Password' ); ?></label>
<div class="wp-pwd">
<input type="password" name="pwd" id="user_pass"<?php echo $aria_describedby; ?> class="input password-input" value="" size="20" autocomplete="current-password" spellcheck="false" required="required" />
<input type="password" name="pwd" id="user_pass"<?php echo $aria_describedby; ?> class="input password-input ltr" value="" size="20" autocomplete="current-password" spellcheck="false" required="required" />
<button type="button" class="button button-secondary wp-hide-pw hide-if-no-js" data-toggle="0" aria-label="<?php esc_attr_e( 'Show password' ); ?>">
<span class="dashicons dashicons-visibility" aria-hidden="true"></span>
</button>
Expand Down
2 changes: 2 additions & 0 deletions src/wp-signup.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ function wpmu_signup_stylesheet() {
.mu_register #user_email,
.mu_register #blogname,
.mu_register #user_name { width: 100%; font-size: 24px; margin: 5px 0; box-sizing: border-box; }
.mu_register input[type="email"],
.mu_register #user_name { direction: ltr; }
.mu_register #site-language { display: block; }
.mu_register .prefix_address,
.mu_register .suffix_address { font-size: 18px; display: inline-block; direction: ltr; }
Expand Down
Loading