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

WordPress Trac noreply at wordpress.org
Mon Oct 2 23:46:29 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:  4.9
Component:  Login and Registration       |     Version:  4.7
 Severity:  normal                       |  Resolution:
 Keywords:  has-patch reporter-feedback  |     Focuses:
-----------------------------------------+-----------------------------

Comment (by SergeyBiryukov):

 On second thought, hooks before any output might indeed be helpful for
 redirects or more extensive customizations.

 Perhaps they need better names though. `pre_lostpassword_form` sounds like
 it fires after the header and right before the form, not before any output
 on the page.

 If the goal is to short-circuit `login_header()`, maybe `pre_login_header`
 should be added instead.

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


More information about the wp-trac mailing list