[wp-trac] [WordPress Trac] #41757: Add action inside of add_new_user_to_blog() function

WordPress Trac noreply at wordpress.org
Wed Aug 30 16:04:34 UTC 2017


#41757: Add action inside of add_new_user_to_blog() function
-----------------------------+-----------------------------
 Reporter:  johnjamesjacoby  |       Owner:
     Type:  enhancement      |      Status:  new
 Priority:  low              |   Milestone:  Future Release
Component:  Users            |     Version:  3.0
 Severity:  minor            |  Resolution:
 Keywords:  has-patch        |     Focuses:  multisite
-----------------------------+-----------------------------
Changes (by jeremyfelt):

 * milestone:  Awaiting Review => Future Release


Comment:

 I think a hook here makes sense.

 I *could* see calling it `added_new_user_to_blog` to match with the
 `add_new_user_to_blog` action rather than the `added_existing_user`
 action. It at least seems a little less generic then. :)

 Also - the function docs need to be updated to indicate that `$password`
 is no longer an ignored parameter, but is passed to the action.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/41757#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list