Make WordPress Core

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#20162 closed enhancement (fixed)

Pass additional parameters to newuser_notify_siteadmin filter

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

Description

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 13 years ago.

Download all attachments as: .zip

Change History (4)

@boonebgorges
13 years ago

#1 @nacin
13 years ago

Might as well just pass $user. Looks good.

#2 @nacin
13 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
13 years ago

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