[wp-trac] [WordPress Trac] #20597: Allow WP_Comment_Query::query to filter by category

WordPress Trac wp-trac at lists.automattic.com
Wed May 2 03:40:06 UTC 2012


#20597: Allow WP_Comment_Query::query to filter by category
-------------------------------------+------------------------------
 Reporter:  sambauers                |       Owner:
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Comments                 |     Version:  3.4
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |
-------------------------------------+------------------------------

Comment (by sambauers):

 The argument list got a bit munged there. The last two arguments should
 have double underscores after "category". Here is the relevant link in the
 codex to how WP_Query works with these arguments:

 http://codex.wordpress.org/Class_Reference/WP_Query#Category_Parameters

 That is the argument usage I have followed for this patch.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20597#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list