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

WordPress Trac noreply at wordpress.org
Mon May 14 19:59:09 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 desrosj):

 Working on figuring out why, but wanted to document the issue that I am
 currently having with this patch. I have tested this on fresh installs of
 `trunk` using both PHP 7.1 and PHP 7.2 using VVV.

 I have 3 test users:
 - One (the admin) with `en_US`.
 - One (contributor) with `ar`.
 - One (author) with `de_DE`.

 Submitting requests for each user only results in the confirmation email
 being sent to the administrator when the site default language is `en_US`.
 When the site is changed to `de_DE` as the default, no users receive
 emails.

 When using `var_dump()` on the PHPMailer object in `wp_mail()`, it shows
 `[ErrorInfo] => Could not instantiate mail function.`, and when using
 `var_dump()` on the `$mail_error_data` variable, it shows
 `phpmailer_exception_code` as `2`.

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


More information about the wp-trac mailing list