[wp-trac] [WordPress Trac] #20302: Allow comment_form() to add attributes to <form> tag

WordPress Trac wp-trac at lists.automattic.com
Mon Mar 26 02:22:34 UTC 2012


#20302: Allow comment_form() to add attributes to <form> tag
-------------------------------------+------------------------------
 Reporter:  psbook                   |       Owner:
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Comments                 |     Version:  3.4
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |
-------------------------------------+------------------------------
Changes (by jkudish):

 * cc: joachim.kudish@… (added)
 * keywords:   => has-patch needs-testing
 * version:  3.3.1 => 3.4


Comment:

 The proposed/attached patch adds a 'form_attributes' argument to the $args
 for comment_form, it also adds 2 new filters, one for the attributes
 (which are passed as a key/value array) and one for the entire form
 element as it gets output.

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


More information about the wp-trac mailing list