[wp-trac] [WordPress Trac] #16742: Meta query doesn't work with $wp_query->set()
WordPress Trac
wp-trac at lists.automattic.com
Fri Mar 4 17:51:36 UTC 2011
#16742: Meta query doesn't work with $wp_query->set()
--------------------------+--------------------
Reporter: scribu | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.1.1
Component: Query | Version:
Severity: normal | Resolution:
Keywords: |
--------------------------+--------------------
Changes (by scribu):
* keywords: has-patch =>
Comment:
That will cause duplicate meta queries:
{{{
query_posts( array( 'meta_key' => 'foo' ) );
}}}
After the final call to _parse_meta_query(), 'meta_query' will be:
{{{
Array
(
[0] => Array
(
[key] => foo
)
[1] => Array
(
[key] => foo
)
)
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16742#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list