Make WordPress Core

Opened 8 years ago

Closed 7 years ago

#47168 closed enhancement (duplicate)

A comments_pre_query filter would also be usefull

Reported by: imath Owned by:
Priority: normal Milestone:
Component: Query Version:
Severity: normal Keywords: has-patch
Cc: Focuses:

Description

Hi,

In 5.2, there are now 2 new 'pre_query' filters for sites and networks queries. There's already one for users and posts. I suggest to do the same for comments.

Attached to this ticket is the patch I'm suggesting to bring the filter for the comments query.

Thanks a lot for your time.

Attachments (1)

47168.patch​ (4.3 KB ) - added by imath 8 years ago.

Download all attachments as: .zip

Change History (4)

#1 @SergeyBiryukov
8 years ago

  • Milestone Awaiting Review → 5.3

This ticket was mentioned in ​Slack in #core by david.baumwald. ​View the logs.


7 years ago

#3 @davidbaumwald
7 years ago

  • Milestone 5.3
  • Resolution → duplicate
  • Status new → closed

Duplicate of #45800.

Note: See TracTickets for help on using tickets.