Add @since for check_password_reset_key(), reset_password(), and register_new_user().

see #20279.
Built from https://develop.svn.wordpress.org/trunk@32696


git-svn-id: http://core.svn.wordpress.org/trunk@32666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2015-06-05 20:39:26 +00:00
parent 93b5a9a7fa
commit 50369e1c98
2 changed files with 7 additions and 1 deletions

View File

@ -2278,6 +2278,8 @@ function wp_get_password_hint() {
* hashing process. This field is now hashed; old values are no longer accepted
* but have a different WP_Error code so good user feedback can be provided.
*
* @since 3.1.0
*
* @global wpdb $wpdb WordPress database object for queries.
* @global PasswordHash $wp_hasher Portable PHP password hashing framework instance.
*
@ -2331,6 +2333,8 @@ function check_password_reset_key($key, $login) {
/**
* Handles resetting the user's password.
*
* @since 2.5.0
*
* @param object $user The user
* @param string $new_pass New password for the user in plaintext
*/
@ -2354,6 +2358,8 @@ function reset_password( $user, $new_pass ) {
/**
* Handles registering a new user.
*
* @since 2.5.0
*
* @param string $user_login User's username for logging in
* @param string $user_email User's email address to send password and add
* @return int|WP_Error Either user's ID or error on failure.

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.3-alpha-32695';
$wp_version = '4.3-alpha-32696';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.