[wp-trac] [WordPress Trac] #35427: add filter on the wpmu_signup_user() meta values in user-new

WordPress Trac noreply at wordpress.org
Tue Jan 12 22:35:13 UTC 2016


#35427: add filter on the wpmu_signup_user() meta values in user-new
------------------------------------+------------------------------
 Reporter:  pbearne                 |       Owner:
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Login and Registration  |     Version:  3.0
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:  multisite
------------------------------------+------------------------------

Comment (by swissspidy):

 Why not add a filter inside `wpmu_signup_user()` instead of `wp-admin
 /user-new.php`? Users can be added from many different places.

 For comparison, `wp_insert_user` has lots of filters as well, including
 `insert_user_meta` to filter a user's meta values and keys before the user
 is created or updated.

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


More information about the wp-trac mailing list