[wp-trac] [WordPress Trac] #52770: Cannot redeclare retrieve_password() error in 5.7

WordPress Trac noreply at wordpress.org
Mon Mar 15 19:58:18 UTC 2021


#52770: Cannot redeclare retrieve_password() error in 5.7
------------------------------------+----------------------
 Reporter:  khr2003                 |       Owner:  (none)
     Type:  defect (bug)            |      Status:  closed
 Priority:  normal                  |   Milestone:
Component:  Login and Registration  |     Version:  5.7
 Severity:  normal                  |  Resolution:  invalid
 Keywords:                          |     Focuses:
------------------------------------+----------------------
Changes (by SergeyBiryukov):

 * keywords:  needs-patch =>


Comment:

 Just noting that `retrieve_password()` was indeed moved from `wp-
 login.php` to `wp-includes/functions.php` in [50129] and further to `wp-
 includes/user.php` in [50140] / #34281.

 So this seems to be a case of an incomplete upgrade. Downloading the
 [https://wordpress.org/download/ latest version of WordPress] and
 replacing the `wp-login.php` file with a fresh copy should fix the issue.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52770#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list