[wp-trac] [WordPress Trac] #38079: Add hooks before output for each action in wp-login.php

WordPress Trac noreply at wordpress.org
Tue Oct 3 00:04:45 UTC 2017


#38079: Add hooks before output for each action in wp-login.php
-----------------------------------------+-----------------------------
 Reporter:  jfarthing84                  |       Owner:  voldemortensen
     Type:  enhancement                  |      Status:  assigned
 Priority:  normal                       |   Milestone:  Future Release
Component:  Login and Registration       |     Version:  4.7
 Severity:  normal                       |  Resolution:
 Keywords:  has-patch reporter-feedback  |     Focuses:
-----------------------------------------+-----------------------------

Comment (by SergeyBiryukov):

 There's a
 [https://developer.wordpress.org/reference/hooks/login_form_action/
 login_form_{$action}] dynamic hook, so maybe
 `pre_login_form_{$action}_header` would be a better name for these new
 hooks from [attachment:38079.patch], which would expand to:
 * `pre_login_form_lostpassword_header`
 * `pre_login_form_resetpass_header`
 * `pre_login_form_register_header`
 * `pre_login_form_login_header`

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


More information about the wp-trac mailing list