Opened 15 months ago

Closed 15 months ago

Last modified 15 months ago

#20162 closed enhancement (fixed)

Pass additional parameters to newuser_notify_siteadmin filter

Reported by: boonebgorges Owned by: nacin
Priority: normal Milestone: 3.4
Component: Users Version:
Severity: trivial Keywords: has-patch
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 15 months ago.

Download all attachments as: .zip

Change History (4)

Might as well just pass $user. Looks good.

  • 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.

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