WordPress.org

Make WordPress Core

Opened 4 months ago

Closed 4 months ago

Last modified 4 months ago

#39085 closed defect (bug) (fixed)

RTL issue in the new Custom CSS

Reported by: ramiy Owned by: westonruter
Milestone: 4.7 Priority: normal
Severity: normal Version: 4.7
Component: Customize Keywords: has-screenshots has-patch commit dev-reviewed
Focuses: rtl Cc:

Description

The custom CSS textarea should always be LTR. Because it shows code, and code is in English (LTR language).

See the attached screenshot.

Attachments (3)

css-rtl.png (991.9 KB) - added by ramiy 4 months ago.
39085.0.diff (491 bytes) - added by westonruter 4 months ago.
39085.1.diff (544 bytes) - added by westonruter 4 months ago.
Use code class instead of dir=ltr

Download all attachments as: .zip

Change History (10)

@ramiy
4 months ago

#1 @ramiy
4 months ago

  • Keywords needs-patch has-screenshots added

I should say that there are several other places in WordPress admin that always use LTR direction, usually using the code class.

For example see: Settings > Writing > Update Services

@westonruter
4 months ago

#2 @westonruter
4 months ago

  • Keywords has-patch added; needs-patch removed
  • Milestone changed from Awaiting Review to 4.7
  • Owner set to westonruter
  • Status changed from new to accepted

@westonruter
4 months ago

Use code class instead of dir=ltr

This ticket was mentioned in Slack in #core by westonruter. View the logs.


4 months ago

#4 @ocean90
4 months ago

  • Keywords commit added

39085.1.diff looks good.

#5 @westonruter
4 months ago

  • Keywords dev-reviewed added

#6 @westonruter
4 months ago

  • Resolution set to fixed
  • Status changed from accepted to closed

In 39499:

Customize: Ensure textarea for Custom CSS displays as code (in LTR) when an RTL language is active.

See #35395.
Fixes #39085.

#7 @westonruter
4 months ago

In 39500:

Customize: Ensure textarea for Custom CSS displays as code (in LTR) when an RTL language is active.

Merges [39499] onto 4.7 branch.
Fixes #39085 for 4.7.

Note: See TracTickets for help on using tickets.