From c896260f38be0c347af9af7b71fc0b352b02c2fc Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 5 Jun 2015 20:38:36 +0000 Subject: [PATCH] Add `@since` for `check_password_reset_key()`, `reset_password()`, and `register_new_user()`. see #20279. git-svn-id: https://develop.svn.wordpress.org/trunk@32696 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/user.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/wp-includes/user.php b/src/wp-includes/user.php index 436a6640e9..2599ce01a9 100644 --- a/src/wp-includes/user.php +++ b/src/wp-includes/user.php @@ -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.