[wp-trac] [WordPress Trac] #32762: Comment meta queries cannot be set in WP_Comment_Query via pre_get_comments

WordPress Trac noreply at wordpress.org
Tue Jun 23 14:27:07 UTC 2015


#32762: Comment meta queries cannot be set in WP_Comment_Query via pre_get_comments
--------------------------+------------------
 Reporter:  needle        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.3
Component:  Comments      |     Version:  4.2
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------

Comment (by boonebgorges):

 Thanks, needle.

 > Your patch would seem to address the issue for my purposes, but as you
 say, may introduce backpat issues for others.

 The patch, as written, should not introduce backward compatibility
 concerns - it's just kinda ugly, because of the need for multiple calls to
 `parse_query_vars()`. But let's go with it anyway.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32762#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list