[wp-trac] [WordPress Trac] #15350: WP_Query Assumes Taxonomy Query Operator
WordPress Trac
wp-trac at lists.automattic.com
Tue Nov 9 06:13:30 UTC 2010
#15350: WP_Query Assumes Taxonomy Query Operator
--------------------------+-------------------------------------------------
Reporter: filosofo | Owner: filosofo
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.1
Component: Query | Version: 3.1
Severity: normal | Keywords: has-patch
--------------------------+-------------------------------------------------
The following query works in WP 3.0 and seems to be syntactically valid:
{{{
query_posts( array(
'taxonomy' => 'post_tag',
'term' => 'my term',
) );
}}}
However, trunk throws a notice because no operator is defined.
Patch checks for the operator to be set before attempting to evaluate it.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15350>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list