[wp-trac] [WordPress Trac] #35063: user deletion form hook docs incorrect and could use ids of users to be deleted
WordPress Trac
noreply at wordpress.org
Tue Feb 23 17:41:17 UTC 2016
#35063: user deletion form hook docs incorrect and could use ids of users to be
deleted
--------------------------+-----------------------------------
Reporter: usermrpapa | Owner: DrewAPicture
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.5
Component: Users | Version: 4.0
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: docs, administration
--------------------------+-----------------------------------
Changes (by DrewAPicture):
* owner: => DrewAPicture
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"36640"]:
{{{
#!CommitTicketReference repository="" revision="36640"
Users: Pass the array of user IDs being deleted to the `delete_user_form`
action hook in two places.
Also updates documentation for the first parameter, `$current_user`, to
clarify that it holds the `WP_User` object for the _current_ user, not the
one being deleted.
Props usermrpapa.
Fixes #35063.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35063#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list