[wp-trac] [WordPress Trac] #43985: Privacy: The user request email should be sent in the user language

WordPress Trac noreply at wordpress.org
Sat May 12 09:35:58 UTC 2018


#43985: Privacy: The user request email should be sent in the user language
-------------------------------------------------+-------------------------
 Reporter:  Chouby                               |       Owner:  desrosj
     Type:  defect (bug)                         |      Status:  accepted
 Priority:  normal                               |   Milestone:  4.9.6
Component:  Mail                                 |     Version:  trunk
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch gdpr needs-testing needs-  |     Focuses:
  unit-tests                                     |  administration
-------------------------------------------------+-------------------------

Comment (by ocean90):

 `is_locale_switched()` shouldn't be used here, instead use the return
 value of `switch_to_locale()` to check if the specific request for
 switching the locale was successful and not any other locale switch. It's
 similar to `ms_is_switched()`, see #38253.

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


More information about the wp-trac mailing list