Opened 8 years ago
Closed 8 years ago
#44126 closed defect (bug) (fixed)
Adding fields to comments_form args prevents checkbox displaying
| Reported by: | pross | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.9.8 |
| Component: | Comments | Version: | 4.9.6 |
| Severity: | normal | Keywords: | needs-testing fixed-major |
| Cc: | Focuses: | docs, privacy |
Attachments (1)
Change History (16)
This ticket was mentioned in Slack in #core by iandunn. View the logs.
8 years ago
#2
@
8 years ago
- Component Privacy → Comments
- Focuses docs privacy added
- Keywords needs-patch added
- Milestone Awaiting Review → 4.9.7
#3
@
8 years ago
- Version → 4.9.6
Added to the Changes that Affect Theme Authors in WordPress 4.9.6 dev note.
#4
@
8 years ago
Quick patch, still allows users to use comment_form_default_fields so they can still remove the cookies checkbox if need be.
#9
@
8 years ago
On second thought, 44126.patch makes more sense.
This ticket was mentioned in Slack in #core by pbiron. View the logs.
8 years ago
This ticket was mentioned in Slack in #core by jon_bossenger. View the logs.
8 years ago
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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.