Docs: Correct the wording in wp_lostpassword_url() description.

This affects:
* The `wp_lostpassword_url()` function.
* The `lost_password_html_link` filter.

The filter description was copied from the function, which appears to be not quite accurate, as the lost password can only be reset, not retrieved.

Follow-up to [11448], [54206].

See #55646.

git-svn-id: https://develop.svn.wordpress.org/trunk@54224 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2022-09-19 22:24:46 +00:00
parent 8423a7da9e
commit 49634edddb
2 changed files with 2 additions and 2 deletions

View File

@ -629,7 +629,7 @@ function wp_login_form( $args = array() ) {
}
/**
* Returns the URL that allows the user to retrieve the lost password.
* Returns the URL that allows the user to reset the lost password.
*
* @since 2.8.0
*

View File

@ -1482,7 +1482,7 @@ switch ( $action ) {
$html_link = sprintf( '<a href="%s">%s</a>', esc_url( wp_lostpassword_url() ), __( 'Lost your password?' ) );
/**
* Filters the link that allows the user to retrieve the lost password.
* Filters the link that allows the user to reset the lost password.
*
* @since 6.1.0
*