[wp-trac] [WordPress Trac] #26317: Added Filter to be possible to disable/change the 'New Site Created' email sent to Administration email address
WordPress Trac
noreply at wordpress.org
Sat Dec 14 05:31:31 UTC 2013
#26317: Added Filter to be possible to disable/change the 'New Site Created' email
sent to Administration email address
-------------------------+------------------
Reporter: vaurdan | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.9
Component: Multisite | Version: 3.0
Severity: normal | Resolution:
Keywords: |
-------------------------+------------------
Changes (by jeremyfelt):
* version: 3.8 => 3.0
* milestone: Awaiting Review => 3.9
Comment:
Thanks for the ticket and the patch, vaurdan. It is interesting that we
only fire the quick email with `wp_mail()` to the admin right before an
abstracted event for `wpmu_welcome_notification()`.
If we pull this out into a new function, we should identify where else it
could be used to notify an admin that a new site has been created. It
should also likely not have the `wpmu_` prefix, as that was ported over in
the WPMU transition. We'd be ok to do something more like
`wp_new_site_admin_notification()` I think.
We can probably move the `get_site_url()` check into the new function and
pass the `$id` along as we do in `wpmu_welcome_notification()`.
I think it makes sense to see how we can improve this going forward. The
new site notification emails are pretty light at the moment. It looks like
it has been this way since MU was ported over via [12603].
--
Ticket URL: <http://core.trac.wordpress.org/ticket/26317#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list