Add comment-list and comment-form to template_tag #423

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
3 participants

tacoen commented Mar 3, 2014

Make comment-list avaliable for wp_list_comments callback, and
comment-form array avaliable to edit

@tacoen tacoen Add comment-list and comment-form to template_tag
Make comment-list avaliable for wp_list_comments callback, and
comment-form array avaliable to edit
992d8a3
Contributor

michiecat commented Mar 3, 2014

This looks like it would be useful for people who want to modify the comment form.

obenland removed the Second Opinion label Mar 3, 2014

Member

obenland commented Mar 3, 2014

comment_form() has plenty of filters for theme authors to hook into, including comment_form_defaults which allows for manipulation of all default arguments.

Similar case with wp_list_comments(). We just removed the callback there two months ago (cb52da6) since we can now register support for core's built in HTML5 output. Feel free to pass an array with arguments once you develop your theme with _s, for _s itself this is not necessary though, core's output good as it is.

obenland closed this Mar 3, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment