Correct the hook docs for the user_profile_update_errors
action.
Fixes #33537 Props yamchhetri git-svn-id: https://develop.svn.wordpress.org/trunk@33769 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ffb128a3c6
commit
e95ce848f9
@ -163,9 +163,9 @@ function edit_user( $user_id = 0 ) {
|
||||
*
|
||||
* @since 2.8.0
|
||||
*
|
||||
* @param array &$errors An array of user profile update errors, passed by reference.
|
||||
* @param bool $update Whether this is a user update.
|
||||
* @param WP_User &$user WP_User object, passed by reference.
|
||||
* @param WP_Error &$errors WP_Error object, passed by reference.
|
||||
* @param bool $update Whether this is a user update.
|
||||
* @param WP_User &$user WP_User object, passed by reference.
|
||||
*/
|
||||
do_action_ref_array( 'user_profile_update_errors', array( &$errors, $update, &$user ) );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user