[wp-trac] [WordPress Trac] #47605: Email sender name change with site title in wp-includes/pluggable.php

WordPress Trac noreply at wordpress.org
Mon Aug 4 14:18:37 UTC 2025


#47605: Email sender name change with site title in wp-includes/pluggable.php
-----------------------------+------------------------------
 Reporter:  viitorcloudvc    |       Owner:  (none)
     Type:  feature request  |      Status:  closed
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Mail             |     Version:  2.2
 Severity:  normal           |  Resolution:  duplicate
 Keywords:  has-patch        |     Focuses:
-----------------------------+------------------------------
Changes (by SirLouen):

 * keywords:  has-patch needs-testing => has-patch
 * status:  new => closed
 * resolution:   => duplicate


Comment:

 This is quite tricky. For example, what happens with multisite?
 For example, on creation of a new user, it will send an email
 By using `get_bloginfo( 'name' );` it will take the main blog, but maybe
 you would rather not disclose the main blog name when doing such.
 The right way to proceed here is programmatically with `wp_mail_from_name`
 as @audrasjb and @mukesh27 have suggested.
 There are already some proposals regarding the Senders mail (**and
 transitively, sender's name**), like #60420. For this reason, I'm going to
 be closing this as a duplicate to focus effort for a resolution just in
 one ticket.

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


More information about the wp-trac mailing list