[wp-trac] [WordPress Trac] #52013: Duplicate wp_authorize_application_password_form actions
WordPress Trac
noreply at wordpress.org
Sat Dec 12 20:35:03 UTC 2020
#52013: Duplicate wp_authorize_application_password_form actions
----------------------------------------+---------------------
Reporter: johnbillion | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.6.1
Component: Application Passwords | Version: 5.6
Severity: normal | Resolution:
Keywords: needs-patch good-first-bug | Focuses: docs
----------------------------------------+---------------------
Comment (by TimothyBlynJacobs):
Thanks for the patch @engahmeds3ed!
Let's include in `wp_authorize_application_password_form_no_js` that this
is the success variant, so
`wp_authorize_application_password_form_approved_no_js`.
We also need to pass the `$new_password` to the no js hook, and the
`errorThrown` var to the JS hook.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52013#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list