Make WordPress Core

Opened 3 years ago

Last modified 9 months ago

#38074 new defect (bug)

comments_template needs a filter for $top_level_args

Reported by: thomaslhotta Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version: 4.5
Component: Comments Keywords: needs-patch
Focuses: Cc:
PR Number:



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.

Change History (1)

#1 @desrosj
9 months ago

  • Keywords needs-patch added
  • Milestone changed from Awaiting Review to Future Release
  • Version changed from 4.6.1 to 4.5

Thanks for this, @thomaslhotta. Are you able to create a patch?

Note: See TracTickets for help on using tickets.