Make WordPress Core


Ignore:
Timestamp:
10/02/2017 10:01:23 PM (7 years ago)
Author:
johnbillion
Message:

Docs: Remove & prefixes from parameter documentation to avoid doc parsing errors.

Props sudar for the original patch.

See #35974

File:
1 edited

Legend:

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

    r41376 r41686  
    135135     *
    136136     * @param string $user_login The username.
    137      * @param string &$pass1     The password, passed by reference.
    138      * @param string &$pass2     The confirmed password, passed by reference.
     137     * @param string $pass1     The password (passed by reference).
     138     * @param string $pass2     The confirmed password (passed by reference).
    139139     */
    140140    do_action_ref_array( 'check_passwords', array( $user->user_login, &$pass1, &$pass2 ) );
     
    185185     * @since 2.8.0
    186186     *
    187      * @param WP_Error &$errors WP_Error object, passed by reference.
     187     * @param WP_Error $errors WP_Error object (passed by reference).
    188188     * @param bool     $update  Whether this is a user update.
    189      * @param stdClass &$user   User object, passed by reference.
     189     * @param stdClass $user   User object (passed by reference).
    190190     */
    191191    do_action_ref_array( 'user_profile_update_errors', array( &$errors, $update, &$user ) );
Note: See TracChangeset for help on using the changeset viewer.