[wp-trac] [WordPress Trac] #11172: Login form template function

WordPress Trac wp-trac at lists.automattic.com
Mon Mar 15 09:27:15 UTC 2010


#11172: Login form template function
----------------------------+-----------------------------------------------
 Reporter:  ryan            |       Owner:  beaulebens
     Type:  task (blessed)  |      Status:  assigned  
 Priority:  normal          |   Milestone:  3.0       
Component:  Template        |     Version:  2.8.5     
 Severity:  normal          |    Keywords:  has-patch 
----------------------------+-----------------------------------------------

Comment(by ptahdunbar):

 Took a stab at ''11172.005.diff'' to improve on what you guys started. I
 took some ideas from comment_form().

 Diff:
 - prefixed all hooks with 'wp_' in addition to passing the $args
 variable.[[BR]]
 - adds a new fields param as a second argument to add or replace form
 fields.[[BR]]
 - hooks before, on, and after each field.[[BR]]
 - changed 'login_form_top' to 'wp_login_form_before'[[BR]]
 - changed 'login_form_bottom' to 'wp_login_form_after'[[BR]]
 - removed login_form_middle'[[BR]]
 - updated the docblock[[BR]]

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11172#comment:26>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list