[wp-trac] [WordPress Trac] #35500: Login page: user can change password on " " but can't log in with new password.

WordPress Trac noreply at wordpress.org
Tue Apr 5 23:03:20 UTC 2022


#35500: Login page: user can change password on " " but can't log in with new
password.
-------------------------------------+-----------------------------
 Reporter:  antonrinas               |       Owner:  hellofromTonya
     Type:  defect (bug)             |      Status:  closed
 Priority:  lowest                   |   Milestone:  6.0
Component:  Login and Registration   |     Version:
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+-----------------------------

Comment (by peterwilsoncc):

 Replying to [comment:15 azouamauriac]:
 > I wonder to know if we can just put [https://prnt.sc/G4Vi8BZ6mbD- this]
 both "if" statement together... Any objection?

 The first if statement makes changes to the password variable that are
 used in the second statement. I considered asking for them to be combined
 but decided the code would be clearer keeping them separate.

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


More information about the wp-trac mailing list