WordPress.org

Make WordPress Core

Opened 8 months ago

Last modified 7 months ago

#46229 new defect (bug)

Email Direction

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

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.

Regards,
Rahim

Attachments (1)

rtl-emails-in-ltr.png (56.9 KB) - added by desrosj 7 months ago.

Download all attachments as: .zip

Change History (2)

#1 @desrosj
7 months 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.