Make WordPress Core

Opened 5 years ago

Last modified 5 years ago

#46229 new defect (bug)

Email Direction

Reported by: rahimvaziri's profile rahimvaziri Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version:
Component: Mail Keywords: has-screenshots dev-feedback
Focuses: Cc:

Description (last modified by desrosj)

Hello WordPress,
Thank you so much for changing the world.

I am using the RTL layout of WordPress and all emails that I receive from WordPress, like changing password, reviewing a comment are in LTR direction.

Hope you fix this in the next update or let me know that how can I fix it.


Attachments (1)

rtl-emails-in-ltr.png (56.9 KB) - added by desrosj 5 years ago.

Download all attachments as: .zip

Change History (2)

#1 @desrosj
5 years ago

  • Description modified (diff)
  • Keywords has-screenshots dev-feedback added
  • Milestone changed from Awaiting Review to Future Release
  • Version 5.0.3 deleted

Hi @rahimvaziri,

Welcome to Trac! Thanks for opening this ticket.

I did some testing and confirmed that emails, by default, do not display using RTL when sent in an RTL language.

An easy solution for this would be to add dir="rtl" to the <html> tag. But, WordPress uses text/plain for all its emails by default, so this won't work unless a plugin filters emails to make them text/html. I did some searching, but I could not find an obvious solution.

Note: See TracTickets for help on using tickets.