Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#9735 closed defect (bug) (fixed)

rtl stylesheets for color scheme not loaded

Reported by: yoavf Owned by:
Milestone: 2.8 Priority: normal
Severity: major Version: 2.8
Component: Administration Keywords: has-patch tested css rtl
Focuses: Cc:


When blog is set to RTL, color-fresh.css is called twice. color-fresh-rtl.css is not loaded at all.

admin-header.php output:

<link rel='stylesheet' id='colors-css'  href='http://localhost:8888/trunk/wp-admin/css/colors-fresh.css?ver=20090503' type='text/css' media='all' />
<link rel='stylesheet' id='colors-rtl-css'  href='http://localhost:8888/trunk/wp-admin/css/colors-fresh.css?ver=20090503' type='text/css' media='all' />

Attachments (1)

9735.patch (949 bytes) - added by hakre 9 years ago.

Download all attachments as: .zip

Change History (6)

#1 @Denis-de-Bernardy
9 years ago

  • Milestone changed from Unassigned to 2.8

#2 @hakre
9 years ago

Can reproduce. Will work on a patch now.

9 years ago


#3 @hakre
9 years ago

  • Keywords has-patch tested added; needs-patch removed

someone has out the replace function before instead of after the filters. this is fixed now.

a incosistency i saw but just reported here FYI:

color handle has src (bool) true
color-rtl handle has src (int) 1

#4 @yoavf
9 years ago

Working, thanks hakre

#5 @ryan
9 years ago

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

(In [11219]) Fix RTL color stylesheet loading. Props hakre. fixes #9735

Note: See TracTickets for help on using tickets.