[wp-trac] [WordPress Trac] #11297: Don't email the admin when he creates a user from the backend
WordPress Trac
noreply at wordpress.org
Thu Dec 10 01:51:35 UTC 2015
#11297: Don't email the admin when he creates a user from the backend
--------------------------------------+-----------------------------
Reporter: caesarsgrunt | Owner:
Type: enhancement | Status: new
Priority: low | Milestone: Future Release
Component: Users | Version: 2.9
Severity: minor | Resolution:
Keywords: dev-feedback needs-patch | Focuses:
--------------------------------------+-----------------------------
Changes (by jeremyfelt):
* keywords: dev-feedback needs-patch needs-nacin => dev-feedback needs-
patch
Comment:
#33587 added a context param to the pluggable
`wp_new_user_notification()`, though we only handle a case for (1) admin
emails only or (2) admin and new user.
We **could** also wrap the email to the admin and provide for 3 context
possibilities - user only, admin only, or both. This would allow someone
to unhook/rehook notifications up with a different wrapper than
`wp_send_new_user_notification()` and thus context.
Pinging @boonebgorges for his thoughts as he was deep in the weeds of
#33587.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/11297#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list