[wp-trac] [WordPress Trac] #41009: Add filter to comment form class

WordPress Trac noreply at wordpress.org
Thu Mar 19 18:42:38 UTC 2020


#41009: Add filter to comment form class
-------------------------+-----------------------------
 Reporter:  cjbj         |       Owner:  SergeyBiryukov
     Type:  enhancement  |      Status:  reviewing
 Priority:  normal       |   Milestone:  5.5
Component:  Comments     |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |     Focuses:
-------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * keywords:  has-patch commit => needs-patch
 * owner:  (none) => SergeyBiryukov
 * status:  new => reviewing
 * milestone:  Future Release => 5.5


Comment:

 Thanks for the patch!

 Instead of a filter, I think this would make more sense as a new argument
 for the `comment_form()` function, for consistency with the existing
 `class_form` and `class_submit` arguments.

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


More information about the wp-trac mailing list