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

WordPress Trac noreply at wordpress.org
Wed Jan 26 20:36:32 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:  Awaiting Review
Component:  Users                    |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  needs-patch has-         |     Focuses:  ui, css, rtl,
  screenshots                        |  administration
-------------------------------------+-------------------------------------
Changes (by sabernhardt):

 * focuses:  ui, rtl, administration => ui, css, rtl, administration


Comment:

 r45673 removed the CSS imports because the 'forms' and 'l10n' styles are
 listed as dependencies for 'login' (plus 'install' and 'wp-admin').
 However, the login fields are text and password types.

 Maybe someone has a better idea, but I would add a new class to the
 selector list in forms.css (and assign the class wherever necessary):
 {{{
 /* rtl:ignore */
 .always-ltr,
 input[type="email"],
 input[type="url"] {
         direction: ltr;
 }
 }}}

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


More information about the wp-trac mailing list