[wp-trac] [WordPress Trac] #51613: Error thrown on login page
WordPress Trac
noreply at wordpress.org
Mon Oct 26 02:11:28 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: reporter-feedback has-patch needs- | Focuses:
testing has-screenshots |
-------------------------------------------------+-------------------------
Changes (by sarahricker):
* keywords: reporter-feedback has-patch => reporter-feedback has-patch
needs-testing has-screenshots
* owner: (none) => sarahricker
* status: new => assigned
Comment:
Hey @SergeyBiryukov! I took a quick look at this. It was the ajax error in
above screenshot. Resolved by preventing `wp.ajax.post( 'generate-
password' )` from running on the wp-login.php page, including when
redirected to the page, as there is nothing to generate there.
Note: Ability to generate passwords still runs on user profile and when on
the login page for password resets.
See Github PR: https://github.com/WordPress/wordpress-develop/pull/661
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51613#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list