[wp-trac] [WordPress Trac] #18747: Custom Taxonomy Search/Filter Bug
WordPress Trac
wp-trac at lists.automattic.com
Thu Sep 22 14:35:28 UTC 2011
#18747: Custom Taxonomy Search/Filter Bug
--------------------------------------+----------------------
Reporter: wordpressplugindeveloper | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Query | Version:
Severity: normal | Resolution: invalid
Keywords: |
--------------------------------------+----------------------
Comment (by wordpressplugindeveloper):
due to the array #2,
foreach ( $this->queries as $query ) {
........................
if ( empty( $terms ) ) {
if ( 'OR' == $this->relation )
continue;
else
return self::$no_results;
}
............. }
the whole query just return self::$no_results; and cannot generate join
condition.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18747#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list