[wp-trac] [WordPress Trac] #60420: Default wordpress at site.com sender address can be problematic
WordPress Trac
noreply at wordpress.org
Sat Aug 2 16:39:08 UTC 2025
#60420: Default wordpress at site.com sender address can be problematic
-----------------------------+------------------------------
Reporter: thinlinecz | Owner: (none)
Type: feature request | Status: reopened
Priority: normal | Milestone: Awaiting Review
Component: Mail | Version: 1.5.1.2
Severity: normal | Resolution:
Keywords: close | Focuses:
-----------------------------+------------------------------
Comment (by michael.orlitzky):
Replying to [comment:18 SirLouen]:
> Replying to [comment:17 michael.orlitzky]
> > This is the hardest, because we absolutely still need an easily
configurable "From" address, and all of the plugins that are currently
using the site admin address as the "From" address are using it wrong.
>
> This is what we have already been discussing all the way through. The
admin email is only meant to be a "To" address, mainly for notification
purposes regarding the administration level of the site. All inputted
emails (including other plugins in the ecosystem, like bbPress and
Buddypress), use any "saved in the DB" email as a To email. For the `From`
email, the solution was, as I said, using the filter.
Ok, thanks, at least this gives us a starting point.
> You argue that the filter is not well documented in the front end, and
this is what we will be solved via Health Check and the Administration
docs. These happen to be the classic docs go-to within the administration
interface. As we already identified, changing this behaviour can provoke a
backwards compatibility trouble, and setting the admin email as the `From`
also collides, as I said, with the idea that this email could be mostly
anything the admin decides (for example, the admin's Gmail account).
My real argument against the filter would be twofold:
1. A usable sender address is one of the most basic settings that needs to
be tweaked -- or at least verified -- on every site. Requiring code to
change it just means that it will remain incorrect for many people,
leading to (silently) lost or junked messages.
2. It's a site-wide setting, so in particular it doesn't belong in a
theme; upgrading a theme from wordpress.org/themes shouldn't erase the
setting. Is there an easy way to install filters site-wide? (I don't think
creating a new custom plugin for each site to change one email address is
reasonable.)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60420#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list