[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 19 01:28:08 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:  Future Release
Component:  Login and Registration  |     Version:  3.0
 Severity:  normal                  |  Resolution:
 Keywords:  needs-refresh           |     Focuses:  multisite
------------------------------------+-----------------------------
Changes (by jeremyfelt):

 * keywords:  has-patch dev-feedback => needs-refresh
 * milestone:  Awaiting Review => Future Release


Comment:

 The `add_signup_meta` filter is already used with `wpmu_signup_user()` in
 `wp-signup.php`. I don't see any issues adding this in `user-new.php` as
 well.

 Replying to [comment:3 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.

 This could make sense. I don't think it would affect any current uses of
 the filter. Unless someone is using `wpmu_signup_user()` manually and not
 expecting `$meta` to be filtered already. Probably worth some exploration.

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


More information about the wp-trac mailing list