[wp-trac] [WordPress Trac] #15350: WP_Query Assumes Taxonomy Query Operator
WordPress Trac
wp-trac at lists.automattic.com
Tue Nov 9 15:24:10 UTC 2010
#15350: WP_Query Assumes Taxonomy Query Operator
--------------------------+-------------------------------------------------
Reporter: filosofo | Owner: filosofo
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 3.1
Component: Query | Version: 3.1
Severity: normal | Resolution:
Keywords: |
--------------------------+-------------------------------------------------
Comment(by scribu):
An operator should always be present.
Otherwise, a correct check would be:
{{{if ( !isset( $query['operator'] ) || 'IN' == $query['operator'] ) {}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15350#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list