[wp-trac] [WordPress Trac] #56787: Recovery mode tokens can't be validated successfully if pluggable function wp_check_password is overwritten.

WordPress Trac noreply at wordpress.org
Mon Feb 13 04:18:25 UTC 2023


#56787: Recovery mode tokens can't be validated successfully if pluggable function
wp_check_password is overwritten.
-------------------------------------------------+-------------------------
 Reporter:  calvinalkan                          |       Owner:
                                                 |  TimothyBlynJacobs
     Type:  defect (bug)                         |      Status:  accepted
 Priority:  normal                               |   Milestone:  6.2
Component:  Site Health                          |     Version:  5.2
 Severity:  normal                               |  Resolution:
 Keywords:  needs-testing has-patch has-         |     Focuses:
  testing-info                                   |
-------------------------------------------------+-------------------------
Changes (by TimothyBlynJacobs):

 * keywords:  needs-testing needs-unit-tests needs-testing-info has-patch =>
     needs-testing has-patch has-testing-info


Comment:

 This should be covered by the existing unit tests. To manually test, edit
 a plugin on your site to introduce a fatal error. For example:

 {{{#!php
 <?php
 add_action( 'init', function() {
    $this->method();
 } );
 }}}


 You should be able to receive a Recovery Mode email to the Admin Email
 address configured in Settings → General. Clicking on the emailed link
 should enter you into Recovery Mode.

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


More information about the wp-trac mailing list