[wp-trac] [WordPress Trac] #34442: How to target only the get_comments() query in comment_template()

WordPress Trac noreply at wordpress.org
Sat Jan 9 04:43:35 UTC 2016


#34442: How to target only the get_comments() query in comment_template()
-------------------------+---------------------------
 Reporter:  birgire      |       Owner:  boonebgorges
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  4.5
Component:  Comments     |     Version:  4.3.1
 Severity:  normal       |  Resolution:  fixed
 Keywords:               |     Focuses:
-------------------------+---------------------------
Changes (by boonebgorges):

 * owner:   => boonebgorges
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"36235"]:
 {{{
 #!CommitTicketReference repository="" revision="36235"
 Introduce `comments_template_query_args` filter.

 This new filter gives developers a way to target the arguments used for
 comment
 queries specifically when populating the main comment template.

 Props birgire.
 Fixes #34442.
 }}}

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


More information about the wp-trac mailing list