[wp-trac] [WordPress Trac] #41009: Add filter to comment form class
WordPress Trac
noreply at wordpress.org
Sat Apr 4 07:48:11 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: has-patch | Focuses:
-------------------------+-----------------------------
Changes (by mayankmajeji):
* keywords: needs-patch => has-patch
Comment:
I've added an argument "class_respond" to the comment_form() function. I
hope this should do.
Replying to [comment:4 SergeyBiryukov]:
> 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:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list