Ticket #54915: 54915.1.diff
File 54915.1.diff, 12.4 KB (added by , 3 years ago) |
---|
-
src/wp-activate.php
107 107 <style type="text/css"> 108 108 form { margin-top: 2em; } 109 109 #submit, #key { width: 90%; font-size: 24px; } 110 #key { direction: ltr; } 110 111 #language { margin-top: .5em; } 111 112 .error { background: #f66; } 112 113 span.h3 { padding: 0 8px; font-size: 1.3em; font-weight: 600; } -
src/wp-admin/css/forms.css
108 108 } 109 109 110 110 /* rtl:ignore */ 111 .ltr, 112 input[type="password"], 111 113 input[type="email"], 112 114 input[type="url"] { 113 115 direction: ltr; -
src/wp-admin/edit-form-comment.php
52 52 <tr> 53 53 <td class="first"><label for="email"><?php _e( 'Email' ); ?></label></td> 54 54 <td> 55 <input type="text" name="newcomment_author_email" size="30" value="<?php echo esc_attr( $comment->comment_author_email ); ?>" id="email" />55 <input type="text" name="newcomment_author_email" size="30" class="code" value="<?php echo esc_attr( $comment->comment_author_email ); ?>" id="email" /> 56 56 </td> 57 57 </tr> 58 58 <tr> -
src/wp-admin/includes/template.php
483 483 484 484 <div class="inside"> 485 485 <label for="author-email"><?php _e( 'Email' ); ?></label> 486 <input type="text" name="newcomment_author_email" size="50" value="" id="author-email" />486 <input type="text" name="newcomment_author_email" size="50" class="code" value="" id="author-email" /> 487 487 </div> 488 488 489 489 <div class="inside"> -
src/wp-admin/install.php
123 123 echo '<input name="user_name" type="hidden" value="admin" />'; 124 124 } else { 125 125 ?> 126 <input name="user_name" type="text" id="user_login" size="25" value="<?php echo esc_attr( sanitize_user( $user_name, true ) ); ?>" />126 <input name="user_name" type="text" id="user_login" class="ltr" size="25" value="<?php echo esc_attr( sanitize_user( $user_name, true ) ); ?>" /> 127 127 <p><?php _e( 'Usernames can have only alphanumeric characters, spaces, underscores, hyphens, periods, and the @ symbol.' ); ?></p> 128 128 <?php 129 129 } … … 140 140 <td> 141 141 <div class="wp-pwd"> 142 142 <?php $initial_password = isset( $_POST['admin_password'] ) ? stripslashes( $_POST['admin_password'] ) : wp_generate_password( 18 ); ?> 143 <input type="password" name="admin_password" id="pass1" class="regular-text " autocomplete="off" data-reveal="1" data-pw="<?php echo esc_attr( $initial_password ); ?>" aria-describedby="pass-strength-result" />143 <input type="password" name="admin_password" id="pass1" class="regular-text ltr" autocomplete="off" data-reveal="1" data-pw="<?php echo esc_attr( $initial_password ); ?>" aria-describedby="pass-strength-result" /> 144 144 <button type="button" class="button wp-hide-pw hide-if-no-js" data-start-masked="<?php echo (int) isset( $_POST['admin_password'] ); ?>" data-toggle="0" aria-label="<?php esc_attr_e( 'Hide password' ); ?>"> 145 145 <span class="dashicons dashicons-hidden"></span> 146 146 <span class="text"><?php _e( 'Hide' ); ?></span> -
src/wp-admin/user-edit.php
409 409 <table class="form-table" role="presentation"> 410 410 <tr class="user-user-login-wrap"> 411 411 <th><label for="user_login"><?php _e( 'Username' ); ?></label></th> 412 <td><input type="text" name="user_login" id="user_login" value="<?php echo esc_attr( $profile_user->user_login ); ?>" disabled="disabled" class="regular-text " /> <span class="description"><?php _e( 'Usernames cannot be changed.' ); ?></span></td>412 <td><input type="text" name="user_login" id="user_login" value="<?php echo esc_attr( $profile_user->user_login ); ?>" disabled="disabled" class="regular-text ltr" /> <span class="description"><?php _e( 'Usernames cannot be changed.' ); ?></span></td> 413 413 </tr> 414 414 415 415 <?php if ( ! IS_PROFILE_PAGE && ! is_network_admin() && current_user_can( 'promote_user', $profile_user->ID ) ) : ?> … … 638 638 <button type="button" class="button wp-generate-pw hide-if-no-js" aria-expanded="false"><?php _e( 'Set New Password' ); ?></button> 639 639 <div class="wp-pwd hide-if-js"> 640 640 <span class="password-input-wrapper"> 641 <input type="password" name="pass1" id="pass1" class="regular-text " value="" autocomplete="off" data-pw="<?php echo esc_attr( wp_generate_password( 24 ) ); ?>" aria-describedby="pass-strength-result" />641 <input type="password" name="pass1" id="pass1" class="regular-text ltr" value="" autocomplete="off" data-pw="<?php echo esc_attr( wp_generate_password( 24 ) ); ?>" aria-describedby="pass-strength-result" /> 642 642 </span> 643 643 <button type="button" class="button wp-hide-pw hide-if-no-js" data-toggle="0" aria-label="<?php esc_attr_e( 'Hide password' ); ?>"> 644 644 <span class="dashicons dashicons-hidden" aria-hidden="true"></span> … … 767 767 <div class="create-application-password form-wrap"> 768 768 <div class="form-field"> 769 769 <label for="new_application_password_name"><?php _e( 'New Application Password Name' ); ?></label> 770 <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" />770 <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" /> 771 771 <p class="description" id="new_application_password_name_desc"><?php _e( 'Required to create an Application Password, but not to update the user.' ); ?></p> 772 772 </div> 773 773 -
src/wp-admin/user-new.php
506 506 <table class="form-table" role="presentation"> 507 507 <tr class="form-field form-required"> 508 508 <th scope="row"><label for="user_login"><?php _e( 'Username' ); ?> <span class="description"><?php _e( '(required)' ); ?></span></label></th> 509 <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" maxlength="60" /></td>509 <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" maxlength="60" /></td> 510 510 </tr> 511 511 <tr class="form-field form-required"> 512 512 <th scope="row"><label for="email"><?php _e( 'Email' ); ?> <span class="description"><?php _e( '(required)' ); ?></span></label></th> … … 565 565 <div class="wp-pwd"> 566 566 <?php $initial_password = wp_generate_password( 24 ); ?> 567 567 <span class="password-input-wrapper"> 568 <input type="password" name="pass1" id="pass1" class="regular-text " autocomplete="off" data-reveal="1" data-pw="<?php echo esc_attr( $initial_password ); ?>" aria-describedby="pass-strength-result" />568 <input type="password" name="pass1" id="pass1" class="regular-text ltr" autocomplete="off" data-reveal="1" data-pw="<?php echo esc_attr( $initial_password ); ?>" aria-describedby="pass-strength-result" /> 569 569 </span> 570 570 <button type="button" class="button wp-hide-pw hide-if-no-js" data-toggle="0" aria-label="<?php esc_attr_e( 'Hide password' ); ?>"> 571 571 <span class="dashicons dashicons-hidden" aria-hidden="true"></span> -
src/wp-login.php
827 827 <form name="lostpasswordform" id="lostpasswordform" action="<?php echo esc_url( network_site_url( 'wp-login.php?action=lostpassword', 'login_post' ) ); ?>" method="post"> 828 828 <p> 829 829 <label for="user_login"><?php _e( 'Username or Email Address' ); ?></label> 830 <input type="text" name="user_login" id="user_login" class="input " value="<?php echo esc_attr( $user_login ); ?>" size="20" autocapitalize="off" autocomplete="username" />830 <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" /> 831 831 </p> 832 832 <?php 833 833 … … 941 941 </p> 942 942 943 943 <div class="wp-pwd"> 944 <input type="password" data-reveal="1" data-pw="<?php echo esc_attr( wp_generate_password( 16 ) ); ?>" name="pass1" id="pass1" class="input password-input " size="24" value="" autocomplete="off" aria-describedby="pass-strength-result" />944 <input type="password" data-reveal="1" data-pw="<?php echo esc_attr( wp_generate_password( 16 ) ); ?>" name="pass1" id="pass1" class="input password-input ltr" size="24" value="" autocomplete="off" aria-describedby="pass-strength-result" /> 945 945 946 946 <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' ); ?>"> 947 947 <span class="dashicons dashicons-hidden" aria-hidden="true"></span> … … 1060 1060 <form name="registerform" id="registerform" action="<?php echo esc_url( site_url( 'wp-login.php?action=register', 'login_post' ) ); ?>" method="post" novalidate="novalidate"> 1061 1061 <p> 1062 1062 <label for="user_login"><?php _e( 'Username' ); ?></label> 1063 <input type="text" name="user_login" id="user_login" class="input " value="<?php echo esc_attr( wp_unslash( $user_login ) ); ?>" size="20" autocapitalize="off" autocomplete="username" />1063 <input type="text" name="user_login" id="user_login" class="input ltr" value="<?php echo esc_attr( wp_unslash( $user_login ) ); ?>" size="20" autocapitalize="off" autocomplete="username" /> 1064 1064 </p> 1065 1065 <p> 1066 1066 <label for="user_email"><?php _e( 'Email' ); ?></label> … … 1387 1387 <form name="loginform" id="loginform" action="<?php echo esc_url( site_url( 'wp-login.php', 'login_post' ) ); ?>" method="post"> 1388 1388 <p> 1389 1389 <label for="user_login"><?php _e( 'Username or Email Address' ); ?></label> 1390 <input type="text" name="log" id="user_login"<?php echo $aria_describedby_error; ?> class="input " value="<?php echo esc_attr( $user_login ); ?>" size="20" autocapitalize="off" autocomplete="username" />1390 <input type="text" name="log" id="user_login"<?php echo $aria_describedby_error; ?> class="input ltr" value="<?php echo esc_attr( $user_login ); ?>" size="20" autocapitalize="off" autocomplete="username" /> 1391 1391 </p> 1392 1392 1393 1393 <div class="user-pass-wrap"> 1394 1394 <label for="user_pass"><?php _e( 'Password' ); ?></label> 1395 1395 <div class="wp-pwd"> 1396 <input type="password" name="pwd" id="user_pass"<?php echo $aria_describedby_error; ?> class="input password-input " value="" size="20" autocomplete="current-password" />1396 <input type="password" name="pwd" id="user_pass"<?php echo $aria_describedby_error; ?> class="input password-input ltr" value="" size="20" autocomplete="current-password" /> 1397 1397 <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' ); ?>"> 1398 1398 <span class="dashicons dashicons-visibility" aria-hidden="true"></span> 1399 1399 </button> -
src/wp-signup.php
65 65 .mu_register #user_email, 66 66 .mu_register #blogname, 67 67 .mu_register #user_name { width:100%; font-size: 24px; margin:5px 0; } 68 .mu_register input[type="email"], 69 .mu_register #user_name { direction: ltr; } 68 70 .mu_register #site-language { display: block; } 69 71 .mu_register .prefix_address, 70 72 .mu_register .suffix_address { font-size: 18px; display:inline; }