[wp-trac] [WordPress Trac] #11297: Don't email the admin when he creates a user from the backend
WordPress Trac
wp-trac at lists.automattic.com
Tue Dec 1 15:17:30 UTC 2009
#11297: Don't email the admin when he creates a user from the backend
--------------------------+-------------------------------------------------
Reporter: caesarsgrunt | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Users | Version: 2.9
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
Comment(by nacin):
What about a site with multiple admins? More importantly, the admin_email
isn't tied directly to a user account, so you'd have to compare the
admin_email with the current user email, that way if the admin_email isn't
the current user's, it can still be sent.
Perhaps wp_new_user_notification, as a pluggable function, could use an
extra parameter specifying whether it came from wp-login.php or wp-admin?
See also #11210.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11297#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list