[wp-trac] [WordPress Trac] #38074: comments_template needs a filter for $top_level_args
WordPress Trac
noreply at wordpress.org
Fri Sep 16 13:43:44 UTC 2016
#38074: comments_template needs a filter for $top_level_args
--------------------------+-----------------------------
Reporter: thomaslhotta | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Comments | Version: 4.6.1
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
Hi,
I am making use of the {{{comments_template_query_args}}} filter to change
the way comments are displayed. However the first comments page does not
work correctly because {{{$top_level_count}}} is not calculated with the
same changes I made in {{{comments_template_query_args}}}.
I can work around this using the {{{WP_Comment_Query}}} filters, but it
would be a lot nicer if {{{comments_template_query_args}}} would also
effect the calculation of {{{$top_level_count}}}.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38074>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list