[wp-trac] [WordPress Trac] #12660: WP_Query is broken when using meta_* args
WordPress Trac
wp-trac at lists.automattic.com
Sun Mar 21 12:48:47 UTC 2010
#12660: WP_Query is broken when using meta_* args
--------------------------+-------------------------------------------------
Reporter: ptahdunbar | Owner: ryan
Type: defect (bug) | Status: new
Priority: high | Milestone: 3.0
Component: Query | Version: 3.0
Severity: normal | Keywords: needs-patch
--------------------------+-------------------------------------------------
There seems to be multiple problems with WP_Query using the meta_* args:
* Using just ''meta_key'' does not return all posts based on the meta_key
value.[[BR]]
* Using just ''meta_value'' returns duplicate posts based on the
meta_value.[[BR]]
* Using both, ''meta_key'' and ''meta_value'' does not return any posts
even if posts exists based on those values.
I tested the last changeset of query.php (r13501) which doesn't seem to be
the cause.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12660>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list