Allow WP_Comment_Query::query to filter by category
|Reported by:||sambauers||Owned by:|
Description (last modified by helenyhou)
The attached patch allows WP_Comment_Query::query to accept three additional arguments:
The resulting comments are then filtered by these category arguments as well as any other arguments.
These arguments work the same way as their WP_Query counterparts.
I would appreciate advice on the appropriateness of using INNER JOIN (as I have done here) to join in the taxonomy tables to the query.
Change History (5)
2 years ago
- Keywords needs-patch added; has-patch needs-testing removed
- Milestone changed from Awaiting Review to Future Release