[wp-trac] [WordPress Trac] #34507: New action `before_login_form`

WordPress Trac noreply at wordpress.org
Tue Apr 19 12:32:11 UTC 2016


#34507: New action `before_login_form`
-------------------------------------+------------------------------
 Reporter:  sebastian.pisula         |       Owner:
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Login and Registration   |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-refresh  |     Focuses:
-------------------------------------+------------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:3 swissspidy]:
 > Also, should the hook name be `login_form_before`?

 Given that it fires inside the form tag, I think `login_form_top` would be
 a better name, see
 [https://developer.wordpress.org/reference/hooks/comment_form_top/
 comment_form_top] for example.

 If `login_form_before` was introduced, I'd expect it to fire before the
 form tag, see
 [https://developer.wordpress.org/reference/hooks/comment_form_before/
 comment_form_before].

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


More information about the wp-trac mailing list