Pass user id/user object to actions and filters in wp-admin/user-edit.php
|Reported by:||sirzooro||Owned by:|
wp-admin/user-edit.php file calls many actions and filters, but does not pass user id nor user object to most of then. Of course plugins can get user id from global variable $user_id, but more elegant solution would be to pass user id/user object via extra parameter while calling these actions/filters.
I am attaching two patches: vs 2.7.1 and vs latest nightly build.