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

WordPress Trac noreply at wordpress.org
Mon Sep 4 20:49:29 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
-----------------------------+-----------------------------

Comment (by danieltj):

 I've added a patch which includes the new hook with the proposed name by
 @jeremyfelt.

 To note:

 * Updated the docs for `$password` to reflect it's new use.
 * Added `$blog_id` as the last function to match the main functions order.
 * Hook is only run when there is no error from `! is_wp_error( $result )`.

 Thoughts? :)

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


More information about the wp-trac mailing list