Skip to content

Commit 49634ed

Browse files
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
1 parent 8423a7d commit 49634ed

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/wp-includes/general-template.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,7 @@ function wp_login_form( $args = array() ) {
629629
}
630630

631631
/**
632-
* Returns the URL that allows the user to retrieve the lost password.
632+
* Returns the URL that allows the user to reset the lost password.
633633
*
634634
* @since 2.8.0
635635
*

src/wp-login.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1482,7 +1482,7 @@ function wp_login_viewport_meta() {
14821482
$html_link = sprintf( '<a href="%s">%s</a>', esc_url( wp_lostpassword_url() ), __( 'Lost your password?' ) );
14831483

14841484
/**
1485-
* Filters the link that allows the user to retrieve the lost password.
1485+
* Filters the link that allows the user to reset the lost password.
14861486
*
14871487
* @since 6.1.0
14881488
*

0 commit comments

Comments
 (0)