WordPress.org

Make WordPress Core

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#19519 closed defect (bug) (invalid)

Error page direction (RTL)

Reported by: rasheed Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.3
Component: RTL Keywords:
Focuses: Cc:

Description

When wp-config.php is missing the error page isn't RTLized.
Please check the attachment.

Attachments (2)

Untitled-1.gif (8.5 KB) - added by rasheed 10 years ago.
19519.rtl.png (12.4 KB) - added by SergeyBiryukov 10 years ago.

Download all attachments as: .zip

Change History (6)

@rasheed
10 years ago

#1 @SergeyBiryukov
10 years ago

I've downloaded http://ar.wordpress.org/builds/ar/trunk/wordpress-3.3-RC3-ar.zip to check this.

Seems you have a wrong translation for 'ltr' string, which results in wrong $text_direction string being set in wp-load.php. If I change it to:

$text_direction = /*WP_I18N_TEXT_DIRECTION*/'rtl'/*/WP_I18N_TEXT_DIRECTION*/;

the page is displayed in RTL, as expected (see the screenshot).

#2 @rasheed
10 years ago

String translation was corrected.
Thanks.

#3 @rasheed
10 years ago

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

#4 @SergeyBiryukov
10 years ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.