[wp-trac] [WordPress Trac] #49661: mails, Howdy, wp_mail() and filters spreading

WordPress Trac noreply at wordpress.org
Mon Sep 15 16:23:30 UTC 2025


#49661: mails, Howdy, wp_mail() and filters spreading
-------------------------------------------------+-------------------------
 Reporter:  arena                                |       Owner:  SirLouen
     Type:  defect (bug)                         |      Status:  reviewing
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  Mail                                 |     Version:  1.5.1.2
 Severity:  normal                               |  Resolution:
 Keywords:  good-first-bug has-test-info has-    |     Focuses:
  patch needs-testing has-unit-tests             |
-------------------------------------------------+-------------------------

Comment (by sajjad67):

 == Test Report
 === Description
 This report validates whether the indicated patch works as expected.

 Patch tested: https://github.com/WordPress/wordpress-develop/pull/9543

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

 === Actual Results
 1.  ✅ Issue resolved with patch.

 === Additional Notes
 - After applying the patch the wrongly formatted name is now showing
 correctly.

 === Supplemental Artifacts
 == Raw email received (before applying the patch):
 {{{
   Return-Path: <from at example.com>
   Received: from localhost (wordpress-develop-php-1.wordpress-
 develop_wpdevnet. [172.18.0.3])
           by eb84c58a3dd4 (Mailpit) with SMTP
           for <test at example.com>; Mon, 15 Sep 2025 16:17:39 +0000 (UTC)
   Date: Mon, 15 Sep 2025 16:17:39 +0000
   To: test at example.com
   From: Sajjad Hossain Sagor <from at example.com>
   Reply-To: "\"test2 at gmail.com\"" <test2 at gmail.com>
   Subject: [WordPress Develop] Comment: "Hello world!"
   Message-ID: <3nM4BSP7SRjFyhsvdFKFjB2ogzNxwoKosnAx5f4M at localhost>
   X-Mailer: PHPMailer 6.10.0 (https://github.com/PHPMailer/PHPMailer)
   MIME-Version: 1.0
   Content-Type: text/plain; charset=UTF-8

   New comment on your post "Hello world!"
   Author: Sajjad Hossain Sagor (IP address: 172.18.0.1, 172.18.0.1)
   Email: test2 at gmail.com
   URL:
   In reply to: http://localhost:8889/wp-
 admin/comment.php?action=editcomment&c=5#wpbody-content
   Comment:
   Hi

   You can see all comments on this post here:
   http://localhost:8889/index.php/2025/09/15/hello-world/#comments

   Permalink: http://localhost:8889/index.php/2025/09/15/hello-
 world/#comment-6
   Trash it: http://localhost:8889/wp-admin/comment.php?action=trash&c=6
 #wpbody-content
   Spam it: http://localhost:8889/wp-admin/comment.php?action=spam&c=6
 #wpbody-content
 }}}

 == Raw email received (after applying the patch):

 {{{
   Return-Path: <from at example.com>
   Received: from localhost (wordpress-develop-php-1.wordpress-
 develop_wpdevnet. [172.18.0.3])
           by eb84c58a3dd4 (Mailpit) with SMTP
           for <test at example.com>; Mon, 15 Sep 2025 16:15:35 +0000 (UTC)
   Date: Mon, 15 Sep 2025 16:15:35 +0000
   To: test at example.com
   From: Sajjad Hossain Sagor <from at example.com>
   Reply-To: Sajjad Hossain Sagor <test at gmail.com>
   Subject: [WordPress Develop] Comment: "Hello world!"
   Message-ID: <9aMmh7TOyHScstfPRoS7sPFBlXu6KlTTAXdELGobhQ at localhost>
   X-Mailer: PHPMailer 6.10.0 (https://github.com/PHPMailer/PHPMailer)
   MIME-Version: 1.0
   Content-Type: text/plain; charset=UTF-8

   New comment on your post "Hello world!"
   Author: Sajjad Hossain Sagor (IP address: 172.18.0.1, 172.18.0.1)
   Email: test at gmail.com
   URL:
   In reply to: http://localhost:8889/wp-
 admin/comment.php?action=editcomment&c=1#wpbody-content
   Comment:
   Hello

   You can see all comments on this post here:
   http://localhost:8889/index.php/2025/09/15/hello-world/#comments

   Permalink: http://localhost:8889/index.php/2025/09/15/hello-
 world/#comment-5
   Trash it: http://localhost:8889/wp-admin/comment.php?action=trash&c=5
 #wpbody-content
   Spam it: http://localhost:8889/wp-admin/comment.php?action=spam&c=5
 #wpbody-content
 }}}

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


More information about the wp-trac mailing list