[wp-trac] [WordPress Trac] #44126: Adding fields to comments_form args prevents checkbox displaying

WordPress Trac noreply at wordpress.org
Thu May 17 19:12:48 UTC 2018


#44126: Adding fields to comments_form args prevents checkbox displaying
--------------------------+----------------------------
 Reporter:  pross         |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.9.7
Component:  Comments      |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  docs, privacy
--------------------------+----------------------------
Changes (by desrosj):

 * keywords:   => needs-patch
 * focuses:   => docs, privacy
 * component:  Privacy => Comments
 * milestone:  Awaiting Review => 4.9.7


Comment:

 Thanks for the ticket, @pross. I tested this and I am able to reproduce.

 I am going to add this to the dev note for themes that are providing
 arguments to `comment_form()`. If a theme is overriding the fields in
 core, I think this should be on them to add the new field. But we need to
 help them understand why and how. I did notice that the docblock is
 missing the new field, though.

 We could also separate the display of this field into a different
 argument.

 Going to mark 4.9.7 for now so that this gets looked at.

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


More information about the wp-trac mailing list