[wp-trac] [WordPress Trac] #46229: Email Direction

WordPress Trac noreply at wordpress.org
Mon Apr 1 21:06:26 UTC 2019


#46229: Email Direction
------------------------------------------+-----------------------------
 Reporter:  rahimvaziri                   |       Owner:  (none)
     Type:  defect (bug)                  |      Status:  new
 Priority:  normal                        |   Milestone:  Future Release
Component:  Mail                          |     Version:
 Severity:  normal                        |  Resolution:
 Keywords:  has-screenshots dev-feedback  |     Focuses:
------------------------------------------+-----------------------------
Changes (by desrosj):

 * keywords:   => has-screenshots dev-feedback
 * version:  5.0.3 =>
 * milestone:  Awaiting Review => Future Release


Old description:

> 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

New description:

 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

--

Comment:

 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.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46229#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list