mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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:
parent
8423a7da9e
commit
49634edddb
@ -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
|
||||
*
|
||||
|
||||
@ -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
|
||||
*
|
||||
|
||||
Loading…
Reference in New Issue
Block a user