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
This commit is contained in:
parent
b28dd45f3d
commit
231b6f4d5b
|
@ -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 ) ) :
|
||||
?>
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue