Make WordPress Core

Changeset 33242


Ignore:
Timestamp:
07/13/2015 10:04:42 PM (11 years ago)
Author:
DrewAPicture
Message:

Fix the inline documentation syntax in the hook docs for the send_pass_change_email filter, added in 4.3.

See [32820]. See #32891.

File:
1 edited

Legend:

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

    r33241 r33242  
    21552155                $plaintext_pass = $userdata['user_pass'];
    21562156                $userdata['user_pass'] = wp_hash_password( $userdata['user_pass'] );
     2157
    21572158                /**
    2158                  * Filter to stop the sending of the password change email.
     2159                 * Filter whether to stop the sending of the password change email.
    21592160                 *
    21602161                 * @since 4.3.0
    2161                  * @see  wp_insert_user() For $user and $userdata fields.
    21622162                 *
    2163                  * @param bool Return false to not send the email.
    2164                  * @param array $user The original user array.
     2163                 * @see wp_insert_user() For `$user` and `$userdata` fields.
     2164                 *
     2165                 * @param bool  $send     Whether to send the email.
     2166                 * @param array $user     The original user array.
    21652167                 * @param array $userdata The updated user array.
    21662168                 *
Note: See TracChangeset for help on using the changeset viewer.