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

WordPress Trac noreply at wordpress.org
Tue Apr 13 00:28:26 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:

Comment (by khr2003):

 Replying to [comment:3 SergeyBiryukov]:
 > 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.

 @SergeyBiryukov You are right. I was not able to update WordPress through
 admin area due to file permissions inconsistencies. I tried to do it
 manually and did not replace all files.

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

More information about the wp-trac mailing list