[wp-trac] [WordPress Trac] #47004: WordPress email subject update - phase 2
WordPress Trac
noreply at wordpress.org
Sat Aug 9 10:55:55 UTC 2025
#47004: WordPress email subject update - phase 2
-------------------------------------------------+-------------------------
Reporter: ramiy | Owner: (none)
Type: enhancement | Status: assigned
Priority: normal | Milestone: Awaiting
| Review
Component: Mail | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-testing has-test- | Focuses:
info |
-------------------------------------------------+-------------------------
Changes (by SirLouen):
* keywords: has-patch needs-testing => has-patch needs-testing has-test-
info
Comment:
== Testing instructions
If you want to test, simply add these two filters
`delete_site_email_subject`
and
`newblog_notify_siteadmin_subject`
And for the `return` of the callback, use a text that will be the new
subject
For testing, the first filter:
- Create a multisite WP
- Create a new site
- Then delete the site and check the incoming email. The subject will be
your new subject in the filter.
For testing the other one.
- Enable site creation by users (Settings ⇾ Networks Settings ⇾ Allow new
registrations ⇾ Logged-in users may register new sites)
- Create a new user and log with it.
- Go to /wp-signup.php
- Create a new site.
The check the incoming email. The subject must be the one you set in the
filter.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47004#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list