From a60d143f7be8b7adbdcced194f6ad1b7a5a9bbf3 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Thu, 27 Aug 2015 17:16:21 +0000 Subject: [PATCH] Correct the hook docs for the `user_profile_update_errors` action. Fixes #33537 Props yamchhetri Built from https://develop.svn.wordpress.org/trunk@33769 git-svn-id: http://core.svn.wordpress.org/trunk@33737 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/user.php | 6 +++--- wp-includes/version.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-admin/includes/user.php b/wp-admin/includes/user.php index 132ea6d76c..a40efeae3a 100644 --- a/wp-admin/includes/user.php +++ b/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 ) ); diff --git a/wp-includes/version.php b/wp-includes/version.php index e33c02b278..86dd27a137 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-alpha-33768'; +$wp_version = '4.4-alpha-33769'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.