mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Docs: Update documentation for retrieve_password() per the documentation standards.
Follow-up to [50129], [50140]. See #34281. git-svn-id: https://develop.svn.wordpress.org/trunk@50141 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
16cbb22700
commit
1f33c5b66f
@ -2664,8 +2664,8 @@ function check_password_reset_key( $key, $login ) {
|
||||
* @global wpdb $wpdb WordPress database abstraction object.
|
||||
* @global PasswordHash $wp_hasher Portable PHP password hashing framework.
|
||||
*
|
||||
* @param string $user_login Optional user_login, default null. Uses
|
||||
* `$_POST['user_login']` if `$user_login` not set.
|
||||
* @param string $user_login Optional. Username to send a password retrieval email for.
|
||||
* Defaults to `$_POST['user_login']` if not set.
|
||||
* @return true|WP_Error True when finished, WP_Error object on error.
|
||||
*/
|
||||
function retrieve_password( $user_login = null ) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user