[wp-trac] [WordPress Trac] #38781: Change args in `after_signup_user` action

WordPress Trac noreply at wordpress.org
Sat Dec 10 09:45:20 UTC 2016

#38781: Change args in `after_signup_user` action
 Reporter:  MaximeCulea            |       Owner:
     Type:  defect (bug)           |      Status:  new
 Priority:  normal                 |   Milestone:  Future Release
Component:  Users                  |     Version:  4.4
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |     Focuses:  multisite

Comment (by Mista-Flo):

 +1 on this change, as an argument, {{{wpmu_activate_signup}}} function
 have a similar action :
 do_action( 'wpmu_activate_user', $user_id, $password, $meta );

 But just before this action, there is a {{{$meta =
 maybe_unserialize($signup->meta);}}}, so in my opinion we have to keep
 consistency with use of {{{$meta}}} array and don't pass a serialized

Ticket URL: <https://core.trac.wordpress.org/ticket/38781#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list