[wp-trac] [WordPress Trac] #47168: A comments_pre_query filter would also be usefull
WordPress Trac
noreply at wordpress.org
Tue May 7 15:13:31 UTC 2019
#47168: A comments_pre_query filter would also be usefull
-------------------------+-----------------------------
Reporter: imath | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Query | Version:
Severity: normal | Keywords: has-patch
Focuses: |
-------------------------+-----------------------------
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.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47168>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list