[wp-trac] [WordPress Trac] #47827: wp_notify_moderator email error when Site Language is fr_CA
WordPress Trac
noreply at wordpress.org
Sun Aug 4 02:31:39 UTC 2019
#47827: wp_notify_moderator email error when Site Language is fr_CA
--------------------------+-----------------------------
Reporter: zzzz4 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Mail | Version:
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
WordPress version: 5.2.2
PHP version: 5.6.27
Hosting: GoDaddy
"Please moderate:" email is sent without issue when Site Language is
en_US.
However, when Site Language is fr_CA, the following error occurs:
{{{
[04-Aug-2019 01:51:40 UTC] WP_Error Object
(
[errors] => Array
(
[wp_mail_failed] => Array
(
[0] => Could not instantiate mail function.
)
)
[error_data] => Array
(
[wp_mail_failed] => Array
(
[to] => Array
(
[0] => wpadmin at example.com
)
[subject] => [WPSite] Demande de modération pour « Foo
»
[message] => Un nouveau commentaire sur l’article «
Foo » attend votre approbation
http://blog.example.com/foo/
Auteur : JoeUser (adresse IP : xx.xx.xxx.xxx, joe.example.com)
Adresse courriel : joe_user at example.com
Adresse web :
Commentaire :
Commentaire en français
L’approuver : http://blog.example.com/wp-
admin/comment.php?action=approve&c=12#wpbody-content
Le mettre dans la corbeille : http://blog.example.com/wp-
admin/comment.php?action=trash&c=12#wpbody-content
Le marquer comme indésirable : http://blog.example.com/wp-
admin/comment.php?action=spam&c=12#wpbody-content
En ce moment, 4 commentaires attendent vos approbations. Veuillez vous
rendre sur le panneau de modération :
http://blog.example.com/wp-admin/edit-
comments.php?comment_status=moderated#wpbody-content
[headers] => Array
(
)
[attachments] => Array
(
)
[phpmailer_exception_code] => 2
)
)
)
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47827>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list