WordPress.org

Make WordPress Core

Opened 6 weeks ago

Last modified 6 weeks ago

#47168 new enhancement

A comments_pre_query filter would also be usefull

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

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 6 weeks ago.

Download all attachments as: .zip

Change History (2)

@imath
6 weeks ago

#1 @SergeyBiryukov
6 weeks ago

  • Milestone changed from Awaiting Review to 5.3
Note: See TracTickets for help on using tickets.