[wp-trac] [WordPress Trac] #43466: Add ltr admin body class

WordPress Trac noreply at wordpress.org
Tue Oct 2 20:31:19 UTC 2018

#43466: Add ltr admin body class
 Reporter:  birgire                  |       Owner:  (none)
     Type:  enhancement              |      Status:  new
 Priority:  low                      |   Milestone:  Awaiting Review
Component:  Administration           |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  rtl

Comment (by pento):

 I don't think we need to add this for the `dir` attributes, as `ltr` is
 the default value for that attribute.

 As for the class, it seems like `:not( '.rtl' )` is a perfectly valid
 selector, if you ever need that. The more common pattern is to write the
 CSS to work in LTR, then add a smaller file of RTL rules that override the
 LTR rules where necessary. The examples in [comment:4 comment #4] should
 really be making use of that pattern.

Ticket URL: <https://core.trac.wordpress.org/ticket/43466#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list