[wp-trac] [WordPress Trac] #33482: Filter "comment_form_default_fields" removes all fields except textarea for comment
WordPress Trac
noreply at wordpress.org
Fri Aug 21 11:14:30 UTC 2015
#33482: Filter "comment_form_default_fields" removes all fields except textarea for
comment
--------------------------+-----------------------------
Reporter: bhdzllr | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Comments | Version: 4.3
Severity: normal | Keywords:
Focuses: ui, template |
--------------------------+-----------------------------
When trying to use the filter "comment_form_default_fields" just the
textarea for the comment is displayed. Other fields (Name, E-Mail, etc.)
disappear.
Tried with own template and also with the following snippet in "Twenty
Fifteen". Works before updating to WordPress 4.3. Maybe it has something
to do with #30157?
{{{
function my_comment_form() {
// Code
}
add_filter( 'comment_form_default_fields', 'my_comment_form' );
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33482>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list