Make WordPress Core


Ignore:
Timestamp:
09/26/2015 01:10:47 PM (9 years ago)
Author:
DrewAPicture
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/user-edit.php

    r34590 r34592  
    443443 *
    444444 * @since 1.5.1
     445 * @since 2.8.0 Add the `$profileuser` parameter.
    445446 * @since 4.4.0 Now evaluated only in user-edit.php.
    446447 *
    447  * @param bool $show Whether to show the password fields. Default true.
     448 * @param bool    $show        Whether to show the password fields. Default true.
     449 * @param WP_User $profileuser User object for the current user to edit.
    448450 */
    449451if ( $show_password_fields = apply_filters( 'show_password_fields', true, $profileuser ) ) :
Note: See TracChangeset for help on using the changeset viewer.