[wp-trac] [WordPress Trac] #21003: WP_Comment_Query with WP_Meta_Query integration
WordPress Trac
wp-trac at lists.automattic.com
Thu Sep 27 18:48:37 UTC 2012
#21003: WP_Comment_Query with WP_Meta_Query integration
-------------------------------------+------------------
Reporter: nikolov.tmw | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.5
Component: Comments | Version: 3.4
Severity: normal | Resolution:
Keywords: has-patch needs-testing |
-------------------------------------+------------------
Changes (by scribu):
* keywords: has-patch needs-testing commit => has-patch needs-testing
Comment:
In WP_Query, we have this for dealing with duplicates:
{{{
if ( !empty( $this->tax_query->queries ) || !empty(
$this->meta_query->queries ) ) {
$groupby = "{$wpdb->posts}.ID";
}
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21003#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list