From 231b6f4d5b7be4fbb39548e65636ecaa999f6c82 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Sat, 26 Sep 2015 13:11:49 +0000 Subject: [PATCH] Docs: Add missing parameter documentation for `$profileuser` in the hook doc for `show_password_fields`, added in [11302]. Also adds a changelog entry for when the parameter was introduced. See #32246. Built from https://develop.svn.wordpress.org/trunk@34592 git-svn-id: http://core.svn.wordpress.org/trunk@34556 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/user-edit.php | 4 +++- wp-includes/version.php | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/wp-admin/user-edit.php b/wp-admin/user-edit.php index 3646e0f9d2..5f4ac67bcb 100644 --- a/wp-admin/user-edit.php +++ b/wp-admin/user-edit.php @@ -442,9 +442,11 @@ if ( is_multisite() && is_network_admin() && ! IS_PROFILE_PAGE && current_user_c * Filter the display of the password fields. * * @since 1.5.1 + * @since 2.8.0 Add the `$profileuser` parameter. * @since 4.4.0 Now evaluated only in user-edit.php. * - * @param bool $show Whether to show the password fields. Default true. + * @param bool $show Whether to show the password fields. Default true. + * @param WP_User $profileuser User object for the current user to edit. */ if ( $show_password_fields = apply_filters( 'show_password_fields', true, $profileuser ) ) : ?> diff --git a/wp-includes/version.php b/wp-includes/version.php index 1aea78f83c..5a867fc2c4 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-alpha-34591'; +$wp_version = '4.4-alpha-34592'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.