Make WordPress Core

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#20162 closed enhancement (fixed)

Pass additional parameters to newuser_notify_siteadmin filter

Reported by: boonebgorges Owned by: nacin
Milestone: 3.4 Priority: normal
Severity: trivial Version:
Component: Users Keywords: has-patch
Focuses: Cc:


The newuser_notify_siteadmin filter allows modification of the email that gets sent at new user activation on Multisite. However, the filter is not very useful, as it does not pass along any information about the user being activated. The attached patch passes the $user_id as well as the $user object.

Attachments (1)

20162.patch (805 bytes) - added by boonebgorges 8 years ago.

Download all attachments as: .zip

Change History (4)

8 years ago

#1 @nacin
8 years ago

Might as well just pass $user. Looks good.

#2 @nacin
8 years ago

  • Owner set to nacin
  • Resolution set to fixed
  • Status changed from new to closed

In [20101]:

Pass WP_User object to the newuser_notify_siteadmin filter. props boonebgorges. fixes #20162.

#3 @nacin
8 years ago

  • Milestone changed from Awaiting Review to 3.4
Note: See TracTickets for help on using tickets.