[wp-trac] [WordPress Trac] #51613: Error thrown on login page

WordPress Trac noreply at wordpress.org
Mon Oct 26 17:21:52 UTC 2020


#51613: Error thrown on login page
-------------------------------------------------+-------------------------
 Reporter:  ntsekouras                           |       Owner:
                                                 |  sarahricker
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  5.6
Component:  Login and Registration               |     Version:  trunk
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing has-         |     Focuses:
  screenshots dev-feedback                       |
-------------------------------------------------+-------------------------

Comment (by adamsilverstein):

 I confirmed the use of user-profile.js on the password reset screen, which
 is served via the same PHP page as login with a URL `domain/wp-
 login.php?action=rp`. As you point out, that screen prefills the password
 (on the PHP side), I think the JS here mostly activates the password meter
 and handles the 'weak password' checkbox and disabling the submit button
 when required.

 In my testing, I was able to remove the pre-setting of the password that
 was causing the error. This had no effect on the editing/setting passwords
 on the user profile screen, or after resetting WordPress (`wp db reset`)
 on the New Site setup screen (where you also create a user).

 Patch incoming.

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


More information about the wp-trac mailing list