[wp-trac] [WordPress Trac] #54915: Username, email and password fields must be ltr in rtl locale

WordPress Trac noreply at wordpress.org
Wed Mar 2 19:47:40 UTC 2022


#54915: Username, email and password fields must be ltr in rtl locale
-------------------------------------+-------------------------------------
 Reporter:  man4toman                |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  6.0
Component:  Users                    |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-screenshots has-     |     Focuses:  ui, css, rtl,
  testing-info has-patch             |  administration
-------------------------------------+-------------------------------------
Changes (by sabernhardt):

 * keywords:  needs-patch has-screenshots has-testing-info => has-
     screenshots has-testing-info has-patch
 * milestone:  Awaiting Review => 6.0


Comment:

 The common.css file has had a `.ltr` class for this, but that is not
 included on the login screen. I added the class to forms.css and included
 password-type inputs.

 {{{
 /* rtl:ignore */
 .ltr,
 input[type="password"],
 input[type="email"],
 input[type="url"] {
         direction: ltr;
 }
 }}}

 The patch adds the `ltr` class to several inputs.
 **Login:** username, password
 **Install:** username, password
 **User Edit (Profile):** username, password, application password
 **New User:** username, password

 I expect I missed at least one more input that needs the class, too.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54915#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list