[wp-trac] [WordPress Trac] #47827: wp_notify_moderator email error when Site Language is fr_CA

WordPress Trac noreply at wordpress.org
Sun Aug 3 13:16:41 UTC 2025


#47827: wp_notify_moderator email error when Site Language is fr_CA
--------------------------+------------------------------
 Reporter:  zzzz4         |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Mail          |     Version:
 Severity:  normal        |  Resolution:  worksforme
 Keywords:                |     Focuses:
--------------------------+------------------------------
Changes (by SirLouen):

 * status:  new => closed
 * resolution:   => worksforme


Comment:

 == Reproduction Report
 === Description
 ❌ This report can't validate that the issue can be reproduced.

 === Environment
 - WordPress: 6.9-alpha-60093-src
 - PHP: 8.2.29
 - Server: nginx/1.29.0
 - Database: mysqli (Server: 8.4.5 / Client: mysqlnd 8.2.29)
 - Browser: Chrome 138.0.0.0
 - OS: Windows 10/11
 - Theme: Twenty Twenty-Five 1.3
 - MU Plugins: None activated
 - Plugins:
   * Testing Dolly
   * Test Reports 1.2.0

 === Testing Instructions
 1. Set my mail server
 2. Switch the WP language to fr_CA (french Canadian)
 3. Enable Reglagles > Discussion > Un commentaire est en attente de
 modération enabled
 4. Send a new comment to a post with a not logged in session
 5. ❌ Moderation email is received as expected


 === Actual Results
 1. ❌ Error condition is not occurring

 === Additional Notes

 - Looking at the error, all I can see is that there was a problem sending
 using `mail` function in your server, completely unrelated to the fact
 that `fr_CA` could be involved.

 - Anyway, because I don't want to be guilty of imprudence I've tested and
 its not reproducible, below, you can check the Canadian French received
 raw email

 - For this reason, I'm going to be closing this ticket as `worksforme`.
 Feel free to comment back if you happen to find some new reproduction
 instructions like the ones I've provided so I could test it again and
 confirm a potential issue.

 === Supplemental Artifacts

 {{{
 Return-Path: <wordpress at alphabetisierung.at>
 Received: from localhost (unknown [172.20.0.1])
         by 3ace0024e0b8 (Mailpit) with SMTP
         for <test at example.com>; Sun, 3 Aug 2025 13:10:47 +0000 (UTC)
 Date: Sun, 3 Aug 2025 13:10:47 +0000
 To: test at example.com
 From: WordPress <wordpress at alphabetisierung.at>
 Subject:
 =?UTF-8?Q?[WordPress_Develop]_Demande_de_mod=C3=A9ration_pour_=C2=AB_Hello_world!_=C2=BB?=
 Message-ID: <BNS0vRs9UJW1qv2rSWS8MktEO6bB9itmLUPqR6OOoPw at localhost>
 X-Mailer: PHPMailer 6.9.3 (https://github.com/PHPMailer/PHPMailer)
 MIME-Version: 1.0
 Content-Type: text/plain; charset=UTF-8
 Content-Transfer-Encoding: 8bit

 Un nouveau commentaire sur l’article « Hello world! » attend votre
 approbation
 http://localhost:8889/2025/07/23/hello-world/

 Auteur : fasdfasdf (adresse IP : 172.20.0.1, 172.20.0.1)
 Adresse courriel : fasdfasdf at fdsafdas.com
 Adresse web :
 Commentaire :
 fadsfasdfdas

 L’approuver : http://localhost:8889/wp-
 admin/comment.php?action=approve&c=5#wpbody-content
 Le mettre dans la corbeille : http://localhost:8889/wp-
 admin/comment.php?action=trash&c=5#wpbody-content
 Le marquer comme indésirable : http://localhost:8889/wp-
 admin/comment.php?action=spam&c=5#wpbody-content
 En ce moment, 4 commentaires attendent vos approbations. Veuillez vous
 rendre sur le panneau de modération :
 http://localhost:8889/wp-admin/edit-comments.php?comment_status=moderated
 #wpbody-content
 }}}

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


More information about the wp-trac mailing list