From e95ce848f9d2df6a3eb3ec8a9a4ee400f9ae3ed8 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Thu, 27 Aug 2015 17:15:54 +0000 Subject: [PATCH] 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 --- src/wp-admin/includes/user.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-admin/includes/user.php b/src/wp-admin/includes/user.php index 132ea6d76c..a40efeae3a 100644 --- a/src/wp-admin/includes/user.php +++ b/src/wp-admin/includes/user.php @@ -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 ) );