From d34882e9e6a979882cdb962b2b7979ee42648d97 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 19 Sep 2022 22:26:10 +0000 Subject: [PATCH] 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. Built from https://develop.svn.wordpress.org/trunk@54224 git-svn-id: http://core.svn.wordpress.org/trunk@53783 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/general-template.php | 2 +- wp-includes/version.php | 2 +- wp-login.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/general-template.php b/wp-includes/general-template.php index f53934966e..5a1e4fdb7f 100644 --- a/wp-includes/general-template.php +++ b/wp-includes/general-template.php @@ -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 * diff --git a/wp-includes/version.php b/wp-includes/version.php index 745794d8c2..a5818e6fa7 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.1-alpha-54223'; +$wp_version = '6.1-alpha-54224'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. diff --git a/wp-login.php b/wp-login.php index c74f33f5cc..4c9de9503c 100644 --- a/wp-login.php +++ b/wp-login.php @@ -1482,7 +1482,7 @@ switch ( $action ) { $html_link = sprintf( '%s', 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 *