Make WordPress Core

Opened 4 years ago

Closed 3 years ago

#19060 closed defect (bug) (duplicate)

admin CSS: .code, code should have direction:ltr (for rtl installations)

Reported by: panuy Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.2.1
Component: RTL Keywords: has-patch
Focuses: Cc:


selectors .code, code indicate code, which is 100% of the times english text that must be aligned to the left, and have left-to-right directionality.

if the administration panel is in RTL mode, the code textboxes are reversed, and it is nearly impossible to edit them.

the suggested code will not affect LTR installations.

suggested fix at wp-admin-rtl.dev.css file:

.code, code {

direction: ltr;


Attachments (1)

19060.patch (285 bytes) - added by ramiy 4 years ago.

Download all attachments as: .zip

Change History (10)

#1 @ocean90
4 years ago

  • Keywords rtl-feedback needs-patch added; has-patch needs-testing removed

#2 @ramiy
4 years ago

I agree, this is a very good idea. <code> tag has no rtl text, so it has to have left-to-right direction.

#3 @ramiy
4 years ago

Related: #18021

#4 @nacin
4 years ago

  • Keywords rtl-feedback removed


4 years ago

#5 @ramiy
4 years ago

  • Keywords has-patch added; needs-patch removed

#6 @ramiy
4 years ago

see also - #16834

#7 @azaozz
4 years ago

So, what's the best way for here: unicode-bidi: override; or direction: ltr;?

#9 @nacin
3 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Duplicate of #19598.

Note: See TracTickets for help on using tickets.