[wp-trac] [WordPress Trac] #28528: Action in wp-login.php

WordPress Trac noreply at wordpress.org
Sat Nov 7 13:28:06 UTC 2015


#28528: Action in wp-login.php
------------------------------------+------------------------------
 Reporter:  SGr33n                  |       Owner:
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Login and Registration  |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  needs-patch             |     Focuses:
------------------------------------+------------------------------

Comment (by SGr33n):

 In the following patch I've added filters to the input fields in wp-login
 in order to modify them to add e.g. a placeholder value.

 I also added 3 actions:

 before_register_form_fields
 before_login_form_fields
 before_resetpass_form_fields

 These are running before the input fileds of related forms. Infact,
 actually, the current wp-login version doesn't provide a different hook
 for login page, register page and retrive password page, and checking on
 which page you are could be a bitt dificoult. In that way we have
 different actions for each wp-login page.

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


More information about the wp-trac mailing list