Make WordPress Core

Opened 14 years ago

Closed 13 years ago

#24149 closed defect (bug) (fixed)

Set RTL body class for iframes

Reported by: mitchoyoshitaka Owned by:
Priority: normal Milestone: 3.7
Component: Administration Version:
Severity: minor Keywords: dev-feedback
Cc: Focuses:

Description

iframe_header() sets the current locale string in the body class, but not the RTL flag. Please add this.

This came up in MP6 development, where MP6 does not (at this moment) rely on a separate rtl stylesheet like in the current admin CSS, but instead relies more on the body having .rtl set.

Attachments (1)

24149.diff​ (649 bytes ) - added by mitchoyoshitaka 14 years ago.
Patch

Download all attachments as: .zip

Change History (8)

#1 @SergeyBiryukov
14 years ago

  • Keywords commit 3.7-early added
  • Milestone Awaiting Review → Future Release

#2 @wonderboymusic
13 years ago

  • Milestone Future Release → 3.7

these are all marked 3.7-early

#3 @nacin
13 years ago

There is also wp_iframe() and probably a few other places where we have a <body> element and should also have a .rtl class.

editimage.html might be the one place where you won't be able to externally style.

#4 @ryan
13 years ago

In 24994:

Set RTL body class for iframes.

Props mitchoyoshitaka
see #24149

#5 @nacin
13 years ago

  • Keywords has-patch commit 3.7-early removed

Where else does it need to be added?

#6 @DrewAPicture
13 years ago

  • Keywords dev-feedback added

#7 @nacin
13 years ago

  • Resolution → fixed
  • Status new → closed

Calling this as fixed pending further issues/needs.

Note: See TracTickets for help on using tickets.