[wp-trac] [WordPress Trac] #49361: Add $reassign to "remove_user_from_blog" - hook.

WordPress Trac noreply at wordpress.org
Tue Feb 4 19:34:40 UTC 2020


#49361: Add $reassign to "remove_user_from_blog" - hook.
-------------------------------------+-------------------------------------
 Reporter:  Tivus                    |       Owner:  SergeyBiryukov
     Type:  enhancement              |      Status:  accepted
 Priority:  normal                   |   Milestone:  5.4
Component:  Users                    |     Version:
 Severity:  minor                    |  Resolution:
 Keywords:  2nd-opinion needs-patch  |     Focuses:  administration,
  dev-feedback                       |  multisite
-------------------------------------+-------------------------------------

Comment (by SergeyBiryukov):

 In [changeset:"47173" 47173]:
 {{{
 #!CommitTicketReference repository="" revision="47173"
 Users: In `remove_user_from_blog()`:

 * Change default value of the `$blog_id` parameter to match the documented
 type.
 * Change the type of the `$reassign` parameter for consistency with
 `$user_id` and `$blog_id`.
 * Add documentation for the return value.

 See #49361.
 }}}

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


More information about the wp-trac mailing list