[wp-trac] [WordPress Trac] #52013: Duplicate wp_authorize_application_password_form actions

WordPress Trac noreply at wordpress.org
Thu Dec 10 13:49:49 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):

 Yeah, not sure how I ended up doing that. There is another instance in
 `auth-app.js` where the second
 `wp_application_passwords_approve_app_request_success` should actually be
 `wp_application_passwords_approve_app_request_error`.

 For clarity, the first PHP action will only end up firing in the no-JS
 version of that page. Maybe we should include that in the action name so
 developers aren't confused when they don't see hooks added to it working.

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


More information about the wp-trac mailing list