Make WordPress Core

Changes between Initial Version and Version 2 of Ticket #20597


Ignore:
Timestamp:
05/02/2012 03:45:58 AM (12 years ago)
Author:
helenyhou
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #20597 – Description

    initial v2  
    11The attached patch allows WP_Comment_Query::query to accept three additional arguments:
    22
    3 * cat
    4 * category__in
    5 * category__not_in
     3* `cat`
     4* `category__in`
     5* `category__not_in`
    66
    77The resulting comments are then filtered by these category arguments as well as any other arguments.
    88
    9 These arguments work the same way as their WP_Query counterparts.
     9These arguments work the same way as their `WP_Query` counterparts.
    1010
    11 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.
     11I would appreciate advice on the appropriateness of using `INNER JOIN` (as I have done here) to join in the taxonomy tables to the query.