[wp-trac] [WordPress Trac] #34170: Add form class argument to comment_form()

WordPress Trac noreply at wordpress.org
Tue Oct 6 17:16:11 UTC 2015


#34170: Add form class argument to comment_form()
------------------------------------+---------------------------
 Reporter:  flixos90                |       Owner:  DrewAPicture
     Type:  enhancement             |      Status:  closed
 Priority:  normal                  |   Milestone:  4.4
Component:  Comments                |     Version:
 Severity:  normal                  |  Resolution:  fixed
 Keywords:  has-patch dev-feedback  |     Focuses:  template
------------------------------------+---------------------------
Changes (by DrewAPicture):

 * owner:   => DrewAPicture
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"34871"]:
 {{{
 #!CommitTicketReference repository="" revision="34871"
 Template: Introduce a new `class_form` argument in `comment_form()`,
 allowing customization of the form class attribute.

 The static 'comment-form' class was originally added to `comment_form()`
 in [24525]. This new argument should provide needed flexibility in styling
 the comment form further.

 Props flixos90.
 Fixes #34170. See #23851.
 }}}

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


More information about the wp-trac mailing list